ClientCredentialsSecurityTokenManager(ClientCredentials) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ClientCredentialsSecurityTokenManager class.
public:
ClientCredentialsSecurityTokenManager(System::ServiceModel::Description::ClientCredentials ^ clientCredentials);
public ClientCredentialsSecurityTokenManager (System.ServiceModel.Description.ClientCredentials clientCredentials);
new System.ServiceModel.ClientCredentialsSecurityTokenManager : System.ServiceModel.Description.ClientCredentials -> System.ServiceModel.ClientCredentialsSecurityTokenManager
Public Sub New (clientCredentials As ClientCredentials)
Parameters
- clientCredentials
- ClientCredentials
The ClientCredentials.
Exceptions
clientCredentials
is null
.
Examples
The following code shows how to override this constructor.
protected MyClientCredentials(MyClientCredentials other)
: base(other)
{
this.clientEncryptingCert = other.clientEncryptingCert;
this.clientSigningCert = other.clientSigningCert;
this.serviceEncryptingCert = other.serviceEncryptingCert;
this.serviceSigningCert = other.serviceSigningCert;
}
Protected Sub New(ByVal other As MyClientCredentials)
MyBase.New(other)
Me.clientEncryptingCert = other.clientEncryptingCert
Me.clientSigningCert = other.clientSigningCert
Me.serviceEncryptingCert = other.serviceEncryptingCert
Me.serviceSigningCert = other.serviceSigningCert
End Sub
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.