次の方法で共有


ServiceHostBase.Credentials プロパティ

定義

ホストされるサービスの資格情報を取得します。

public:
 property System::ServiceModel::Description::ServiceCredentials ^ Credentials { System::ServiceModel::Description::ServiceCredentials ^ get(); };
public System.ServiceModel.Description.ServiceCredentials Credentials { get; }
member this.Credentials : System.ServiceModel.Description.ServiceCredentials
Public ReadOnly Property Credentials As ServiceCredentials

プロパティ値

ホストされるサービスの ServiceCredentials

ServiceCredentials credentials =
                hostDefault.Credentials;

適用対象