Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

System.Object
  System.Net.Http.HttpClientFactory

public static class HttpClientFactory

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreate(DelegatingHandler[])

Creates a new instance of the HttpClient.

System_CAPS_pubmethodSystem_CAPS_staticCreate(HttpMessageHandler, DelegatingHandler[])

Creates a new instance of the HttpClient.

System_CAPS_pubmethodSystem_CAPS_staticCreatePipeline(HttpMessageHandler, IEnumerable<DelegatingHandler>)

Creates 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.

Return to top
Show:
© 2015 Microsoft