MessageDescription::ProtectionLevel Property
.NET Framework (current version)
Gets or sets the security services required for the message.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property ProtectionLevel ProtectionLevel { ProtectionLevel get(); void set(ProtectionLevel value); }
Property Value
Type: System.Net.Security::ProtectionLevelThe 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
Available since 3.0
Show: