다음을 통해 공유


NetTcpContextBindingElement.ContextProtectionLevel 속성

정의

컨텍스트 정보를 전파하는 데 사용된 SOAP 헤더의 원하는 보호 수준을 가져오거나 설정합니다. 기본값은 ProtectionLevel.Sign입니다.

public:
 property System::Net::Security::ProtectionLevel ContextProtectionLevel { System::Net::Security::ProtectionLevel get(); void set(System::Net::Security::ProtectionLevel value); };
[System.Configuration.ConfigurationProperty("contextProtectionLevel", DefaultValue=System.Net.Security.ProtectionLevel.Sign)]
[System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Security.ProtectionLevelHelper))]
public System.Net.Security.ProtectionLevel ContextProtectionLevel { get; set; }
[System.Configuration.ConfigurationProperty("contextProtectionLevel", DefaultValue=System.Net.Security.ProtectionLevel.Sign)]
public System.Net.Security.ProtectionLevel ContextProtectionLevel { get; set; }
[<System.Configuration.ConfigurationProperty("contextProtectionLevel", DefaultValue=System.Net.Security.ProtectionLevel.Sign)>]
[<System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Security.ProtectionLevelHelper))>]
member this.ContextProtectionLevel : System.Net.Security.ProtectionLevel with get, set
[<System.Configuration.ConfigurationProperty("contextProtectionLevel", DefaultValue=System.Net.Security.ProtectionLevel.Sign)>]
member this.ContextProtectionLevel : System.Net.Security.ProtectionLevel with get, set
Public Property ContextProtectionLevel As ProtectionLevel

속성 값

ProtectionLevel

유효한 ProtectionLevel 값입니다.

특성
ConfigurationPropertyAttribute ServiceModelEnumValidatorAttribute

적용 대상