SecurityBindingElement.MessageSecurityVersion Property


Gets or sets the message security version.

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

public MessageSecurityVersion MessageSecurityVersion { get; set; }

Property Value

Type: System.ServiceModel.MessageSecurityVersion

The MessageSecurityVersion object that represents the message security version.

Exception Condition

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.


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
Return to top