FaultContractAttribute.HasProtectionLevel Property

 

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

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public bool HasProtectionLevel { get; }

Property Value

Type: System.Boolean

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

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

.NET Framework
Available since 3.0
Return to top
Show: