private void KeepAliveTimer_Elapsed(object sender, ElapsedEventArgs e) { try { CommunicationState state = m_channelFactory.State; _proxySubStreaming.KeepAlive(); } catch (Exception ex) { m_keepAliveTimer.Stop(); m_keepAliveTimer.Close(); m_keepAliveTimer.Elapsed -= KeepAliveTimer_Elapsed; Channel_Faulted(this, null); } }