FaultContractAttribute::HasProtectionLevel Property
.NET Framework (current version)
Gets a value that indicates whether the SOAP fault message has a protection level assigned.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System::Booleantrue 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
Available since 3.0
Show: