ServiceHostBase.Credentials Propriété

Définition

Obtient les informations d'identification du service hébergé.

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

Valeur de propriété

ServiceCredentials

ServiceCredentials pour le service hébergé.

Exemples

ServiceCredentials credentials =
                hostDefault.Credentials;

S’applique à