MessageContractAttribute.HasProtectionLevel Propriedade

Definição

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

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 tiver de ser encriptada, assinada ou ambos; caso contrário false. A predefinição é false.

Observações

Se esta definição for true, o nível de proteção da mensagem é o valor de ProtectionLevel. 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