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;
 }
Ejemplo n.º 3
0
 public ContextBindingElement(System.Net.Security.ProtectionLevel protectionLevel, System.ServiceModel.Channels.ContextExchangeMechanism contextExchangeMechanism, Uri clientCallbackAddress) : this(protectionLevel, contextExchangeMechanism, clientCallbackAddress, true)
 {
 }
Ejemplo n.º 4
0
 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;
 }
Ejemplo n.º 5
0
 public ContextBindingElement(System.Net.Security.ProtectionLevel protectionLevel, System.ServiceModel.Channels.ContextExchangeMechanism contextExchangeMechanism) : this(protectionLevel, contextExchangeMechanism, null, true)
 {
 }