MessageContractAttribute.ProtectionLevel Propriedade

Definição

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

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

Um dos ProtectionLevel valores. A predefinição é None.

Exceções

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

Observações

Para detalhes sobre os níveis de proteção e as suas suposições e âmbitos, consulte Compreender o Nível de Proteção.

Aplica-se a