OperationDescription.ProtectionLevel Propriedade

Definição

Obtém ou definem o nível de proteção para a operação.

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

Valor de Propriedade

O ProtectionLevel para a operação.

Observações

A ProtectionLevel propriedade controla se as mensagens de uma operação devem ser encriptadas, assinadas ou ambas. O conjunto de valores aqui é o valor padrão para todas as mensagens especificadas para esta operação, a menos que um âmbito mais restrito sobreponha este valor.

ProtectionLevel corresponde à propriedade ProtectionLevel no modelo de programação Windows Communication Foundation (WCF).

Quando o ProtectionLevel é definido, a HasProtectionLevel propriedade é definida como true.

Aplica-se a