Share via


ServiceClient Constructor (HttpClient)

Initializes a new instance of the ServiceClient class.

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

Usage

'Usage
Dim httpClient As HttpClient

Dim instance As New ServiceClient(Of T)(httpClient)

Syntax

'Declaration
Public Sub New ( _
    httpClient As HttpClient _
)
public ServiceClient (
    HttpClient httpClient
)
public:
ServiceClient (
    HttpClient^ httpClient
)
public ServiceClient (
    HttpClient httpClient
)
public function ServiceClient (
    httpClient : HttpClient
)

Parameters

  • httpClient
    The http client.

Remarks

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