SecurityBindingElement::MessageSecurityVersion Property
.NET Framework (current version)
Gets or sets the message security version.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property MessageSecurityVersion^ MessageSecurityVersion { MessageSecurityVersion^ get(); void set(MessageSecurityVersion^ value); }
Property Value
Type: System.ServiceModel::MessageSecurityVersion^The MessageSecurityVersion object that represents the message security version.
| Exception | Condition |
|---|---|
| ArgumentNullException | set with a null value. |
The MessageSecurityVersion contains numerous properties that specify version numbers of different security specifications used when securing messages exchanged on the channel.
Note |
|---|
Once a SecurityBindingElement object is created, this property is immutable. Calling set on it does not change it. |
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Show:
