protected SecureChannelContext() { SecureChannelContext context = SecureChannelContext.Current; if (context != null) { m_secureChannelId = context.SecureChannelId; m_endpointDescription = context.EndpointDescription; m_messageEncoding = context.MessageEncoding; } } #endregion