FaultContractAttribute.HasProtectionLevel Propriedade

Definição

Obtém um valor que indica se a mensagem de falha SOAP tem um nível de proteção atribuído.

public:
 property bool HasProtectionLevel { bool get(); };
public bool HasProtectionLevel { get; }
member this.HasProtectionLevel : bool
Public ReadOnly Property HasProtectionLevel As Boolean

Valor de Propriedade

true se a mensagem de falha tiver um nível de proteção; caso contrário, false. A predefinição é false.

Observações

Use a HasProtectionLevel propriedade para especificar se a mensagem de falha SOAP deve ser encriptada, assinada ou ambas. Consulte a ProtectionLevel propriedade para mais detalhes.

Aplica-se a