Compartir a través de


ServiceHostBase.Credentials Propiedad

Definición

Obtiene la credencial para el servicio hospedado.

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

Valor de propiedad

ServiceCredentials para el servicio hospedado.

Ejemplos

ServiceCredentials credentials =
                hostDefault.Credentials;

Se aplica a