FaultDescription::ProtectionLevel Property
.NET Framework (current version)
Specifies the level of protection the SOAP fault requires from the binding.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property ProtectionLevel ProtectionLevel { ProtectionLevel get(); void set(ProtectionLevel value); }
Property Value
Type: System.Net.Security::ProtectionLevelOne of the System.Net.Security::ProtectionLevel values. The default is ProtectionLevel::None.
Use the ProtectionLevel property to specify the degree to which the binding must encrypt, sign, or both when sending the SOAP fault. If a binding supports a higher protection level than required by this property, Windows Communication Foundation (WCF) may disable the unnecessary protection if it is able to do so.
.NET Framework
Available since 3.0
Available since 3.0
Show: