10 instantiations of ContextBindingElement
System.ServiceModel (9)
System\ServiceModel\BasicHttpContextBinding.cs (1)
87
result.Insert(0, new
ContextBindingElement
(ProtectionLevel.None, ContextExchangeMechanism.HttpCookie, null, this.ContextManagementEnabled));
System\ServiceModel\Channels\ContextBindingElement.cs (1)
189
return new
ContextBindingElement
(this);
System\ServiceModel\Channels\ContextBindingElementPolicy.cs (3)
136
bindingElement = new
ContextBindingElement
(ProtectionLevel.EncryptAndSign);
140
bindingElement = new
ContextBindingElement
(ProtectionLevel.Sign);
144
bindingElement = new
ContextBindingElement
(ProtectionLevel.None);
System\ServiceModel\Configuration\ContextBindingElementExtensionElement.cs (1)
70
return new
ContextBindingElement
(this.ProtectionLevel, this.ContextExchangeMechanism, this.ClientCallbackAddress, this.ContextManagementEnabled);
System\ServiceModel\NetTcpContextBinding.cs (1)
95
result.Insert(0, new
ContextBindingElement
(this.ContextProtectionLevel, ContextExchangeMechanism.ContextSoapHeader, this.ClientCallbackAddress, this.ContextManagementEnabled));
System\ServiceModel\WSHttpContextBinding.cs (2)
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));
System.WorkflowServices (1)
System\ServiceModel\Activities\Description\WorkflowRuntimeEndpoint.cs (1)
29
internal static readonly Binding netNamedPipeContextBinding = new CustomBinding(new
ContextBindingElement
(),
34 references to ContextBindingElement
System.ServiceModel (31)
System\ServiceModel\BasicHttpContextBinding.cs (2)
18
bool contextManagementEnabled =
ContextBindingElement
.DefaultContextManagementEnabled;
53
[DefaultValue(
ContextBindingElement
.DefaultContextManagementEnabled)]
System\ServiceModel\Channels\ContextBindingElement.cs (3)
59
ContextBindingElement(
ContextBindingElement
other)
255
ContextBindingElement
other = b as
ContextBindingElement
;
System\ServiceModel\Channels\ContextBindingElementImporter.cs (1)
130
ContextBindingElement
contextBindingElement;
System\ServiceModel\Channels\ContextBindingElementPolicy.cs (2)
39
public static void ExportRequireContextAssertion(
ContextBindingElement
bindingElement, PolicyAssertionCollection assertions)
118
public static bool TryImportRequireContextAssertion(PolicyAssertionCollection assertions, out
ContextBindingElement
bindingElement)
System\ServiceModel\Configuration\BasicHttpContextBindingElement.cs (1)
32
[ConfigurationProperty(ContextManagementEnabledName, DefaultValue =
ContextBindingElement
.DefaultContextManagementEnabled)]
System\ServiceModel\Configuration\ContextBindingElementExtensionElement.cs (4)
33
get { return typeof(
ContextBindingElement
); }
45
[ConfigurationProperty(ContextExchangeMechanismName, DefaultValue =
ContextBindingElement
.DefaultContextExchangeMechanism)]
53
[ConfigurationProperty(ProtectionLevelName, DefaultValue =
ContextBindingElement
.DefaultProtectionLevel)]
61
[ConfigurationProperty(ContextManagementEnabledName, DefaultValue =
ContextBindingElement
.DefaultContextManagementEnabled)]
System\ServiceModel\Configuration\NetTcpContextBindingElement.cs (2)
41
[ConfigurationProperty(ContextManagementEnabledName, DefaultValue =
ContextBindingElement
.DefaultContextManagementEnabled)]
48
[ConfigurationProperty(ContextProtectionLevelName, DefaultValue =
ContextBindingElement
.DefaultProtectionLevel)]
System\ServiceModel\Configuration\WSHttpContextBindingElement.cs (2)
41
[ConfigurationProperty(ContextManagementEnabledName, DefaultValue =
ContextBindingElement
.DefaultContextManagementEnabled)]
48
[ConfigurationProperty(ContextProtectionLevelName, DefaultValue =
ContextBindingElement
.DefaultProtectionLevel)]
System\ServiceModel\NetTcpContextBinding.cs (7)
18
bool contextManagementEnabled =
ContextBindingElement
.DefaultContextManagementEnabled;
19
ProtectionLevel contextProtectionLevel =
ContextBindingElement
.DefaultProtectionLevel;
62
[DefaultValue(
ContextBindingElement
.DefaultContextManagementEnabled)]
75
[DefaultValue(
ContextBindingElement
.DefaultProtectionLevel)]
108
ContextBindingElement
contextBindingElement = bindingElements.Find<
ContextBindingElement
>();
112
bindingElementsWithoutContext.Remove<
ContextBindingElement
>();
System\ServiceModel\WSHttpContextBinding.cs (7)
18
ProtectionLevel contextProtectionLevel =
ContextBindingElement
.DefaultProtectionLevel;
19
bool contextManagementEnabled =
ContextBindingElement
.DefaultContextManagementEnabled;
62
[DefaultValue(
ContextBindingElement
.DefaultContextManagementEnabled)]
75
[DefaultValue(
ContextBindingElement
.DefaultProtectionLevel)]
131
ContextBindingElement
contextBindingElement = bindingElements.Find<
ContextBindingElement
>();
135
bindingElementsWithoutContext.Remove<
ContextBindingElement
>();
System.WorkflowServices (3)
AssemblyInfo.cs (1)
13
[assembly: TypeForwardedTo(typeof(System.ServiceModel.Channels.
ContextBindingElement
))]
System\ServiceModel\Description\DurableServiceAttribute.cs (1)
226
ContextBindingElement
.ValidateContextBindingElementOnAllEndpointsWithSessionfulContract(serviceDescription, this);
System\ServiceModel\Description\WorkflowServiceBehavior.cs (1)
377
ContextBindingElement
.ValidateContextBindingElementOnAllEndpointsWithSessionfulContract(description, this);