Compartilhar via


WSHttpContextBindingElement.ContextProtectionLevel Propriedade

Definição

Obtém ou define o nível de proteção de contexto do cabeçalho SOAP usado para propagar as informações de contexto.

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

Valor da propriedade

ProtectionLevel

O nível de proteção de contexto do cabeçalho SOAP usado para propagar as informações de contexto. O padrão é Sign.

Atributos
ConfigurationPropertyAttribute ServiceModelEnumValidatorAttribute

Aplica-se a