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