Edit

Bagikan melalui


MessageDescription.ProtectionLevel Property

Definition

Gets or sets the security services required for the message.

public:
 property System::Net::Security::ProtectionLevel ProtectionLevel { System::Net::Security::ProtectionLevel get(); void set(System::Net::Security::ProtectionLevel value); };
public System.Net.Security.ProtectionLevel ProtectionLevel { get; set; }
member this.ProtectionLevel : System.Net.Security.ProtectionLevel with get, set
Public Property ProtectionLevel As ProtectionLevel

Property Value

The value of ProtectionLevel that specified the security services required for the message.

Exceptions

The value set is not valid value for ProtectionLevel.

Remarks

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

Applies to