FaultContractAttribute.HasProtectionLevel Propiedad

Definición

Obtiene un valor que indica si el mensaje de error de SOAP tiene un nivel de protección asignado.

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

Valor de propiedad

Boolean

true si el mensaje de error tiene un nivel de protección; de lo contrario, false. De manera predeterminada, es false.

Comentarios

Use la HasProtectionLevel propiedad para especificar si el mensaje de error soap debe estar cifrado, firmado o ambos. Consulte la ProtectionLevel propiedad para obtener más información.

Se aplica a