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 하나입니다. 기본값은 None입니다.

예외

설정이 값 중 하나가 아닌 경우 속성에 ProtectionLevel 전달되는 값입니다.

설명

보호 수준 및 해당 가정 및 범위에 대한 자세한 내용은 보호 수준 이해를 참조하세요.

적용 대상