ClientCredentialsSecurityTokenManager(ClientCredentials) Constructeur

Définition

Initialise une nouvelle instance de la classe ClientCredentialsSecurityTokenManager.

C#
public ClientCredentialsSecurityTokenManager (System.ServiceModel.Description.ClientCredentials clientCredentials);

Paramètres

clientCredentials
ClientCredentials

L’ClientCredentialsopérateur

Exceptions

clientCredentials a la valeur null.

Exemples

L'exemple de code suivant montre comment substituer ce constructeur.

C#
protected MyClientCredentials(MyClientCredentials other)
    : base(other)
{
    this.clientEncryptingCert = other.clientEncryptingCert;
    this.clientSigningCert = other.clientSigningCert;
    this.serviceEncryptingCert = other.serviceEncryptingCert;
    this.serviceSigningCert = other.serviceSigningCert;
}

S’applique à

Produit Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8