The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
MessageContractAttribute::HasProtectionLevel Property
.NET Framework (current version)
Gets a value that indicates whether the message has a protection level.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System::Booleantrue if the message must be encrypted, signed, or both; otherwise false. The default is false.
If this setting is true, the protection level for the message is the value of ProtectionLevel. For details about protection levels and their assumptions and scopes, see Understanding Protection Level.
.NET Framework
Available since 3.0
Available since 3.0
Show: