MessageContractAttribute.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 値のいずれか 1 つ。 既定値は、None です。

例外

設定が ProtectionLevel 値のいずれでもない場合に、プロパティに渡される値です。

注釈

保護レベルとその前提条件とスコープの詳細については、「 保護レベルについて」を参照してください。

適用対象