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