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.

MessageDescription::ProtectionLevel Property

 

Gets or sets the security services required for the message.

Namespace:   System.ServiceModel.Description
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 value of ProtectionLevel that specified the security services required for the message.

Exception Condition
ArgumentOutOfRangeException

The value set is not valid value for ProtectionLevel.

The security services are used to ensure the confidentiality, integrity, and authentication of the data contained in the message.

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