protected ContextProtocol(System.ServiceModel.Channels.ContextExchangeMechanism contextExchangeMechanism) { if (!ContextExchangeMechanismHelper.IsDefined(contextExchangeMechanism)) { throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("contextExchangeMechanism")); } this.contextExchangeMechanism = contextExchangeMechanism; }
protected ContextProtocol(System.ServiceModel.Channels.ContextExchangeMechanism contextExchangeMechanism) { if (!ContextExchangeMechanismHelper.IsDefined(contextExchangeMechanism)) { throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("contextExchangeMechanism")); } this.contextExchangeMechanism = contextExchangeMechanism; }
public ContextBindingElement(System.Net.Security.ProtectionLevel protectionLevel, System.ServiceModel.Channels.ContextExchangeMechanism contextExchangeMechanism, Uri clientCallbackAddress) : this(protectionLevel, contextExchangeMechanism, clientCallbackAddress, true) { }
public ContextBindingElement(System.Net.Security.ProtectionLevel protectionLevel, System.ServiceModel.Channels.ContextExchangeMechanism contextExchangeMechanism, Uri clientCallbackAddress, bool contextManagementEnabled) { this.ProtectionLevel = protectionLevel; this.ContextExchangeMechanism = contextExchangeMechanism; this.ClientCallbackAddress = clientCallbackAddress; this.ContextManagementEnabled = contextManagementEnabled; }
public ContextBindingElement(System.Net.Security.ProtectionLevel protectionLevel, System.ServiceModel.Channels.ContextExchangeMechanism contextExchangeMechanism) : this(protectionLevel, contextExchangeMechanism, null, true) { }