Bagikan melalui


ServiceHostBase.Credentials Properti

Definisi

Mendapatkan kredensial untuk layanan yang dihosting.

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

Nilai Properti

ServiceCredentials untuk layanan yang dihosting.

Contoh

ServiceCredentials credentials =
                hostDefault.Credentials;

Berlaku untuk