58 references to ContextExchangeMechanism
System.ServiceModel (57)
System\ServiceModel\BasicHttpContextBinding.cs (1)
87result.Insert(0, new ContextBindingElement(ProtectionLevel.None, ContextExchangeMechanism.HttpCookie, null, this.ContextManagementEnabled));
System\ServiceModel\Channels\ClientContextProtocol.cs (7)
25public ClientContextProtocol(ContextExchangeMechanism contextExchangeMechanism, Uri uri, IChannel owner, Uri callbackAddress, bool contextManagementEnabled) 28if (contextExchangeMechanism == ContextExchangeMechanism.HttpCookie) 87if (this.ContextExchangeMechanism == ContextExchangeMechanism.HttpCookie) 134if (this.ContextExchangeMechanism == ContextExchangeMechanism.ContextSoapHeader) 146else if (this.ContextExchangeMechanism == ContextExchangeMechanism.HttpCookie) 172if (this.ContextExchangeMechanism != ContextExchangeMechanism.ContextSoapHeader) 192if (this.ContextExchangeMechanism == ContextExchangeMechanism.HttpCookie)
System\ServiceModel\Channels\ContextBindingElement.cs (11)
18internal const ContextExchangeMechanism DefaultContextExchangeMechanism = ContextExchangeMechanism.ContextSoapHeader; 21ContextExchangeMechanism contextExchangeMechanism; 38public ContextBindingElement(ProtectionLevel protectionLevel, ContextExchangeMechanism contextExchangeMechanism) 45public ContextBindingElement(ProtectionLevel protectionLevel, ContextExchangeMechanism contextExchangeMechanism, Uri clientCallbackAddress) 51public ContextBindingElement(ProtectionLevel protectionLevel, ContextExchangeMechanism contextExchangeMechanism, Uri clientCallbackAddress, bool contextManagementEnabled) 76public ContextExchangeMechanism ContextExchangeMechanism 168|| (typeof(TChannel) == typeof(IDuplexSessionChannel) && this.ContextExchangeMechanism != ContextExchangeMechanism.HttpCookie)) 183|| (typeof(TChannel) == typeof(IDuplexSessionChannel) && this.ContextExchangeMechanism != ContextExchangeMechanism.HttpCookie)) 329&& this.contextExchangeMechanism == ContextExchangeMechanism.HttpCookie 343if (context.Binding != null && this.contextExchangeMechanism == ContextExchangeMechanism.HttpCookie)
System\ServiceModel\Channels\ContextBindingElementPolicy.cs (1)
50if (bindingElement.ContextExchangeMechanism == ContextExchangeMechanism.ContextSoapHeader)
System\ServiceModel\Channels\ContextChannelFactory.cs (2)
16ContextExchangeMechanism contextExchangeMechanism; 20public ContextChannelFactory(BindingContext context, ContextExchangeMechanism contextExchangeMechanism, Uri callbackAddress, bool contextManagementEnabled)
System\ServiceModel\Channels\ContextChannelListener.cs (2)
16ContextExchangeMechanism contextExchangeMechanism; 19public ContextChannelListener(BindingContext context, ContextExchangeMechanism contextExchangeMechanism)
System\ServiceModel\Channels\ContextDuplexSessionChannel.cs (2)
16ContextExchangeMechanism contextExchangeMechanism, Uri address, Uri callbackAddress, bool contextManagementEnabled) 23ContextExchangeMechanism contextExchangeMechanism)
System\ServiceModel\Channels\ContextExchangeMechanismHelper.cs (3)
11public static bool IsDefined(ContextExchangeMechanism value) 13return value == ContextExchangeMechanism.ContextSoapHeader || 14value == ContextExchangeMechanism.HttpCookie;
System\ServiceModel\Channels\ContextInputChannel.cs (1)
13public ContextInputChannel(ChannelManagerBase channelManager, IInputChannel innerChannel, ContextExchangeMechanism contextExchangeMechanism)
System\ServiceModel\Channels\ContextInputChannelBase.cs (2)
13ContextExchangeMechanism contextExchangeMechanism; 16protected ContextInputChannelBase(ChannelManagerBase channelManager, TChannel innerChannel, ContextExchangeMechanism contextExchangeMechanism)
System\ServiceModel\Channels\ContextInputSessionChannel.cs (1)
13public ContextInputSessionChannel(ChannelManagerBase channelManager, IInputSessionChannel innerChannel, ContextExchangeMechanism contextExchangeMechanism)
System\ServiceModel\Channels\ContextOutputChannel.cs (1)
16ContextExchangeMechanism contextExchangeMechanism, Uri callbackAddress, bool contextManagementEnabled)
System\ServiceModel\Channels\ContextOutputSessionChannel.cs (1)
16ContextExchangeMechanism contextExchangeMechanism, Uri callbackAddress, bool contextManagementEnabled)
System\ServiceModel\Channels\ContextProtocol.cs (3)
20ContextExchangeMechanism contextExchangeMechanism; 22protected ContextProtocol(ContextExchangeMechanism contextExchangeMechanism) 31protected ContextExchangeMechanism ContextExchangeMechanism
System\ServiceModel\Channels\ContextReplyChannel.cs (2)
13ContextExchangeMechanism contextExchangeMechanism; 15public ContextReplyChannel(ChannelManagerBase channelManager, IReplyChannel innerChannel, ContextExchangeMechanism contextExchangeMechanism)
System\ServiceModel\Channels\ContextReplySessionChannel.cs (1)
15public ContextReplySessionChannel(ChannelManagerBase channelManager, IReplySessionChannel innerChannel, ContextExchangeMechanism contextExchangeMechanism)
System\ServiceModel\Channels\ContextRequestChannel.cs (1)
14ContextExchangeMechanism contextExchangeMechanism, Uri callbackAddress, bool contextManagementEnabled)
System\ServiceModel\Channels\ContextRequestChannelBase.cs (1)
16ContextExchangeMechanism contextExchangeMechanism, Uri callbackAddress, bool contextManagementEnabled)
System\ServiceModel\Channels\ContextRequestSessionChannel.cs (1)
14ContextExchangeMechanism contextExchangeMechanism, Uri callbackAddress, bool contextManagementEnabled)
System\ServiceModel\Channels\ServiceContextProtocol.cs (3)
15public ServiceContextProtocol(ContextExchangeMechanism contextExchangeMechanism) 28if (this.ContextExchangeMechanism == ContextExchangeMechanism.HttpCookie) 58if (this.ContextExchangeMechanism == ContextExchangeMechanism.HttpCookie)
System\ServiceModel\Configuration\ContextBindingElementExtensionElement.cs (2)
47public ContextExchangeMechanism ContextExchangeMechanism 49get { return (ContextExchangeMechanism)base[ContextExchangeMechanismName]; }
System\ServiceModel\Configuration\Properties.cs (2)
143properties.Add(new ConfigurationProperty("contextExchangeMechanism", typeof(System.ServiceModel.Channels.ContextExchangeMechanism), System.ServiceModel.Channels.ContextExchangeMechanism.ContextSoapHeader, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Channels.ContextExchangeMechanismHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\NetTcpContextBinding.cs (2)
95result.Insert(0, new ContextBindingElement(this.ContextProtectionLevel, ContextExchangeMechanism.ContextSoapHeader, this.ClientCallbackAddress, this.ContextManagementEnabled)); 109if (contextBindingElement != null && contextBindingElement.ContextExchangeMechanism != ContextExchangeMechanism.HttpCookie)
System\ServiceModel\WSHttpContextBinding.cs (4)
111result.Insert(0, new ContextBindingElement(this.ContextProtectionLevel, ContextExchangeMechanism.HttpCookie, this.ClientCallbackAddress, this.ContextManagementEnabled)); 116result.Insert(0, new ContextBindingElement(this.ContextProtectionLevel, ContextExchangeMechanism.ContextSoapHeader, this.ClientCallbackAddress, this.ContextManagementEnabled)); 140if (allowCookies && contextBindingElement.ContextExchangeMechanism == ContextExchangeMechanism.HttpCookie 141|| !allowCookies && contextBindingElement.ContextExchangeMechanism == ContextExchangeMechanism.ContextSoapHeader)
System.WorkflowServices (1)
AssemblyInfo.cs (1)
15[assembly: TypeForwardedTo(typeof(System.ServiceModel.Channels.ContextExchangeMechanism))]