MessageContractAttribute.ProtectionLevel Propriedade

Definição

Obtém ou define um valor que especifica se a mensagem deve ser criptografada, assinada ou ambos.

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 da propriedade

ProtectionLevel

Um dos valores de ProtectionLevel. O padrão é None.

Exceções

O valor passado para a propriedade quando a configuração não é um dos valores de ProtectionLevel.

Comentários

Para obter detalhes sobre os níveis de proteção e suas suposições e escopos, consulte Noções básicas sobre o nível de proteção.

Aplica-se a