Modifica

Condividi tramite


FaultContractAttribute.HasProtectionLevel Property

Definition

Gets a value that indicates whether the SOAP fault message has a protection level assigned.

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

Property Value

true if the fault message has a protection level; otherwise, false. The default is false.

Remarks

Use the HasProtectionLevel property to specify whether the SOAP fault message must be encrypted, signed, or both. See the ProtectionLevel property for details.

Applies to