The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpClientFactory Class

Represents the factory for creating new instance of HttpClient.


Namespace:  System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

public final class HttpClientFactory

The HttpClientFactory type exposes the following members.

Public methodStatic memberCreate(DelegatingHandler[])Creates a new instance of the HttpClient.
Public methodStatic memberCreate(HttpMessageHandler, DelegatingHandler[])Creates a new instance of the HttpClient.
Public methodStatic memberCreatePipelineCreates a new instance of the HttpClient which should be pipelined.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft