Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents the factory for creating new instance of HttpClient.
Inheritance Hierarchy
System.Object
System.Net.Http.HttpClientFactory
Namespace: System.Net.Http
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
'Declaration
Public NotInheritable Class HttpClientFactory
'Usage
public static class HttpClientFactory
public ref class HttpClientFactory abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type HttpClientFactory = class end
public final class HttpClientFactory
The HttpClientFactory type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() |
Create(DelegatingHandler[]) | Creates a new instance of the HttpClient. |
![]() ![]() |
Create(HttpMessageHandler, DelegatingHandler[]) | Creates a new instance of the HttpClient. |
![]() ![]() |
CreatePipeline | Creates a new instance of the HttpClient which should be pipelined. |
Top
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.