SecurityBindingElement::CreateMutualCertificateDuplexBindingElement Method (MessageSecurityVersion^)

 

Creates an asymmetric security binding element that is configured to require certificate-based client authentication as well as certificate-based server authentication. This authentication mode can be used to secure duplex message exchange patterns and requires the service to be configured with the client certificate out of band.

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

public:
static AsymmetricSecurityBindingElement^ CreateMutualCertificateDuplexBindingElement(
	MessageSecurityVersion^ version
)

Parameters

version
Type: System.ServiceModel::MessageSecurityVersion^

The message security version.

Exception Condition
ArgumentNullException

version is null.

System_CAPS_noteNote

Once a SecurityBindingElement object is created by calling this method, the MessageSecurityVersion property should be treated as immutable. Inconsistent binding behavior may occur if this value is modified.

.NET Framework
Available since 3.0
Return to top
Show: