Windows apps
Collapse the table of content
Expand the table of content
Information
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::ProtectionLevel Property

 

Gets or sets the level of protection for the binding element from the context.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
property ProtectionLevel ProtectionLevel {
	ProtectionLevel get();
	void set(ProtectionLevel value);
}

Property Value

Type: System.Net.Security::ProtectionLevel

The ProtectionLevel for the binding element.

Exception Condition
ArgumentOutOfRangeException

The value set is not valid.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft