16 references to ContextExchangeMechanism
dotnet-svcutil-lib (16)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContextBindingElement.cs (8)
16
internal const
ContextExchangeMechanism
DefaultContextExchangeMechanism =
ContextExchangeMechanism
.ContextSoapHeader;
19
private
ContextExchangeMechanism
_contextExchangeMechanism;
36
public ContextBindingElement(ProtectionLevel protectionLevel,
ContextExchangeMechanism
contextExchangeMechanism)
43
public ContextBindingElement(ProtectionLevel protectionLevel,
ContextExchangeMechanism
contextExchangeMechanism, Uri clientCallbackAddress)
49
public ContextBindingElement(ProtectionLevel protectionLevel,
ContextExchangeMechanism
contextExchangeMechanism, Uri clientCallbackAddress, bool contextManagementEnabled)
74
public
ContextExchangeMechanism
ContextExchangeMechanism
136
|| (typeof(TChannel) == typeof(IDuplexSessionChannel) && this.ContextExchangeMechanism !=
ContextExchangeMechanism
.HttpCookie))
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContextExchangeMechanismHelper.cs (3)
11
public static bool IsDefined(
ContextExchangeMechanism
value)
13
return value ==
ContextExchangeMechanism
.ContextSoapHeader ||
14
value ==
ContextExchangeMechanism
.HttpCookie;
FrameworkFork\System.ServiceModel\System\ServiceModel\NetTcpContextBinding.cs (1)
74
result.Insert(0, new ContextBindingElement(this.ContextProtectionLevel,
ContextExchangeMechanism
.ContextSoapHeader, this.ClientCallbackAddress, this.ContextManagementEnabled));
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpContextBinding.cs (4)
98
result.Insert(0, new ContextBindingElement(this.ContextProtectionLevel,
ContextExchangeMechanism
.HttpCookie, this.ClientCallbackAddress, this.ContextManagementEnabled));
103
result.Insert(0, new ContextBindingElement(this.ContextProtectionLevel,
ContextExchangeMechanism
.ContextSoapHeader, this.ClientCallbackAddress, this.ContextManagementEnabled));
127
if (allowCookies && contextBindingElement.ContextExchangeMechanism ==
ContextExchangeMechanism
.HttpCookie
128
|| !allowCookies && contextBindingElement.ContextExchangeMechanism ==
ContextExchangeMechanism
.ContextSoapHeader)