The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ContextBindingElement Constructor (ProtectionLevel)
.NET Framework (current version)
Initializes a new instance of the ContextBindingElement class with a specified level of protection.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- protectionLevel
-
Type:
System.Net.Security::ProtectionLevel
The ProtectionLevel for the binding element.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The protectionLevel is not valid. |
Sets the default value of ContextSoapHeader for ContextExchangeMechanism.
.NET Framework
Available since 3.5
Available since 3.5
Show: