Επεξεργασία

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


SecurityBindingElement.CreateUserNameForCertificateBindingElement Method

Definition

Creates a symmetric security binding element that is configured to require user name- and password-based client authentication and certificate-based server authentication. The created binding element requires the client to be configured with a service certificate that is out-of-band before opening a communication channel with a service.

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

Returns

A SymmetricSecurityBindingElement object.

Remarks

The server certificate must be configured out of band at the client.

Applies to