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