次の方法で共有


ClientCredentialsSecurityTokenManager(ClientCredentials) コンストラクター

定義

ClientCredentialsSecurityTokenManager クラスの新しいインスタンスを初期化します。

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)

パラメーター

clientCredentials
ClientCredentials

ClientCredentials

例外

clientCredentialsnullです。

このコンストラクターをオーバーライドする方法を次のコードに示します。

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

適用対象