MessageSecurityVersion.Default Property

Definition

Gets the version information for default message security.

public:
 static property System::ServiceModel::MessageSecurityVersion ^ Default { System::ServiceModel::MessageSecurityVersion ^ get(); };
public static System.ServiceModel.MessageSecurityVersion Default { get; }
static member Default : System.ServiceModel.MessageSecurityVersion
Public Shared ReadOnly Property Default As MessageSecurityVersion

Property Value

The MessageSecurityVersion object that represents the default message security.

Remarks

The default security specifications are WS-Security 1.1, WS-Trust of February 2005, WS-SecureConversation of February 2005 and WS-SecurityPolicy 1.1.

This static property returns an instance of this class. The instance of this class is used as parameters in the Create…CertificateBindingElement method calls on the SecurityBindingElement class.

Applies to