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: