NetTcpContextBindingElement.ContextProtectionLevel Propriedade
Definição
Obtém ou define o nível de proteção desejado do cabeçalho SOAP usado para propagar as informações de contexto.Gets or sets the desired protection level of the SOAP header used to propagate the context information. O valor padrão é ProtectionLevel.Sign.The default value is 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=Mono.Cecil.CustomAttributeArgument)]
[System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Security.ProtectionLevelHelper))]
public System.Net.Security.ProtectionLevel ContextProtectionLevel { get; set; }
[System.Configuration.ConfigurationProperty("contextProtectionLevel", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
public System.Net.Security.ProtectionLevel ContextProtectionLevel { get; set; }
[<System.Configuration.ConfigurationProperty("contextProtectionLevel", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Security.ProtectionLevelHelper))>]
member this.ContextProtectionLevel : System.Net.Security.ProtectionLevel with get, set
[<System.Configuration.ConfigurationProperty("contextProtectionLevel", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
member this.ContextProtectionLevel : System.Net.Security.ProtectionLevel with get, set
Public Property ContextProtectionLevel As ProtectionLevel
Valor da propriedade
Um ProtectionLevel valor válido.A valid ProtectionLevel value.
- Atributos
-
ConfigurationPropertyAttribute ServiceModelEnumValidatorAttribute