Επεξεργασία

Κοινή χρήση μέσω


SecurityBindingElement.CreateMutualCertificateDuplexBindingElement Method

Definition

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.

Overloads

CreateMutualCertificateDuplexBindingElement()

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.

CreateMutualCertificateDuplexBindingElement(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.

CreateMutualCertificateDuplexBindingElement()

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.

public:
 static System::ServiceModel::Channels::AsymmetricSecurityBindingElement ^ CreateMutualCertificateDuplexBindingElement();
public static System.ServiceModel.Channels.AsymmetricSecurityBindingElement CreateMutualCertificateDuplexBindingElement ();
static member CreateMutualCertificateDuplexBindingElement : unit -> System.ServiceModel.Channels.AsymmetricSecurityBindingElement
Public Shared Function CreateMutualCertificateDuplexBindingElement () As AsymmetricSecurityBindingElement

Returns

An AsymmetricSecurityBindingElement object.

Applies to

CreateMutualCertificateDuplexBindingElement(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.

public:
 static System::ServiceModel::Channels::AsymmetricSecurityBindingElement ^ CreateMutualCertificateDuplexBindingElement(System::ServiceModel::MessageSecurityVersion ^ version);
public static System.ServiceModel.Channels.AsymmetricSecurityBindingElement CreateMutualCertificateDuplexBindingElement (System.ServiceModel.MessageSecurityVersion version);
static member CreateMutualCertificateDuplexBindingElement : System.ServiceModel.MessageSecurityVersion -> System.ServiceModel.Channels.AsymmetricSecurityBindingElement
Public Shared Function CreateMutualCertificateDuplexBindingElement (version As MessageSecurityVersion) As AsymmetricSecurityBindingElement

Parameters

version
MessageSecurityVersion

The message security version.

Returns

An AsymmetricSecurityBindingElement object.

Exceptions

version is null.

Remarks

Note

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.

Applies to