Compartilhar via


Método CertificateCloudCredentials.InitializeServiceClient

Initializes an instance of ServiceClient that is used to process the credentials.

Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Common.NetFramework (em Microsoft.WindowsAzure.Common.NetFramework.dll)

Uso

'Uso
Dim instance As CertificateCloudCredentials
Dim client As ServiceClient(Of T)

instance.InitializeServiceClient(client)

Sintaxe

'Declaração
Public Overrides Sub InitializeServiceClient(Of T As ServiceClient(Of T)) ( _
    client As ServiceClient(Of T) _
)
public override void InitializeServiceClient<T> (
    ServiceClient<T> client
) where T : ServiceClient<T>
public:
generic<typename T> where T : ServiceClient<T>
virtual void InitializeServiceClient (
    ServiceClient<T>^ client
) override

GenericParameters

Parâmetros

Comentários

A certificate is added to the shared root WebRequestHandler in the handler pipeline of the HttpClient for the ServiceClient.

Segurança de thread

Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows 7 e Windows Server 2008

Plataformas de destino

Consulte também

Referência

Classe CertificateCloudCredentials
Membros CertificateCloudCredentials
Namespace Microsoft.WindowsAzure