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