語言

MessageDescription.ProtectionLevel 屬性

定義

取得或設定訊息所需的安全服務。

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

屬性值

該值 ProtectionLevel 指定了訊息所需的安全服務。

例外狀況

該值集合對 不成立 ProtectionLevel。

備註

安全服務用於確保訊息中資料的機密性、完整性與認證。

適用於