ServiceHostBase.Credentials Propriedade

Definição

Obtém a credencial para o serviço 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 da propriedade

O ServiceCredentials para o serviço hospedado.

Exemplos

ServiceCredentials credentials =
                hostDefault.Credentials;

Aplica-se a