CertificateCloudCredentials.InitializeServiceClient<T> Method (ServiceClient<T>)

 

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

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

Syntax

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
override InitializeServiceClient<'T when 'T : ServiceClient<'T>> : 
        client:ServiceClient<'T> -> unit
Public Overrides Sub InitializeServiceClient(Of T As ServiceClient(Of T)) (
    client As ServiceClient(Of T)
)

Parameters

Type Parameters

Remarks

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

See Also

InitializeServiceClient Overload
CertificateCloudCredentials Class
Microsoft.WindowsAzure Namespace

Return to top