Share via


ServiceClient.HttpClient Property

Gets the HttpClient that is used for making HTTP requests.

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

Usage

'Usage
Dim instance As ServiceClient(Of T)
Dim value As HttpClient

value = instance.HttpClient

instance.HttpClient = value

Syntax

'Declaration
Public Property HttpClient As HttpClient
public HttpClient HttpClient { get; set; }
public:
property HttpClient^ HttpClient {
    HttpClient^ get ();
    void set (HttpClient^ value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public HttpClient get_HttpClient ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_HttpClient (HttpClient value)
CompilerGeneratedAttribute 
public function get HttpClient () : HttpClient

CompilerGeneratedAttribute 
public function set HttpClient (value : HttpClient)

Property Value

The HttpClient that is used for making HTTP requests.

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