Share via


ServiceClient.InitializeHttpClient Method

Initializes HttpClient.

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

Usage

'Usage
Dim httpMessageHandler As HttpMessageHandler

Me.InitializeHttpClient(httpMessageHandler)

Syntax

'Declaration
Protected Sub InitializeHttpClient ( _
    httpMessageHandler As HttpMessageHandler _
)
protected void InitializeHttpClient (
    HttpMessageHandler httpMessageHandler
)
protected:
void InitializeHttpClient (
    HttpMessageHandler^ httpMessageHandler
)
protected void InitializeHttpClient (
    HttpMessageHandler httpMessageHandler
)
protected function InitializeHttpClient (
    httpMessageHandler : HttpMessageHandler
)

Parameters

  • httpMessageHandler
    Http message handler to use with Http client.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

ServiceClient Class
ServiceClient Members
Microsoft.WindowsAzure.Common Namespace