2 writes to ContextExchangeMechanism
System.ServiceModel (2)
System\ServiceModel\Channels\ContextBindingElement.cs (2)
54this.ContextExchangeMechanism = contextExchangeMechanism; 63this.ContextExchangeMechanism = other.ContextExchangeMechanism;
11 references to ContextExchangeMechanism
System.ServiceModel (11)
System\ServiceModel\Channels\ContextBindingElement.cs (7)
63this.ContextExchangeMechanism = other.ContextExchangeMechanism; 137return new ContextChannelFactory<TChannel>(context, this.ContextExchangeMechanism, this.ClientCallbackAddress, this.ContextManagementEnabled); 154return new ContextChannelListener<TChannel>(context, this.ContextExchangeMechanism); 168|| (typeof(TChannel) == typeof(IDuplexSessionChannel) && this.ContextExchangeMechanism != ContextExchangeMechanism.HttpCookie)) 183|| (typeof(TChannel) == typeof(IDuplexSessionChannel) && this.ContextExchangeMechanism != ContextExchangeMechanism.HttpCookie)) 266if (this.ContextExchangeMechanism != other.ContextExchangeMechanism)
System\ServiceModel\Channels\ContextBindingElementPolicy.cs (1)
50if (bindingElement.ContextExchangeMechanism == ContextExchangeMechanism.ContextSoapHeader)
System\ServiceModel\NetTcpContextBinding.cs (1)
109if (contextBindingElement != null && contextBindingElement.ContextExchangeMechanism != ContextExchangeMechanism.HttpCookie)
System\ServiceModel\WSHttpContextBinding.cs (2)
140if (allowCookies && contextBindingElement.ContextExchangeMechanism == ContextExchangeMechanism.HttpCookie 141|| !allowCookies && contextBindingElement.ContextExchangeMechanism == ContextExchangeMechanism.ContextSoapHeader)