HttpMessageInvoker Class
A specialty class that allows applications to call the SendAsync method on an Http handler chain.
Assembly: System.Net.Http (in System.Net.Http.dll)
| Name | Description | |
|---|---|---|
![]() | HttpMessageInvoker(HttpMessageHandler^) | Initializes an instance of a HttpMessageInvoker class with a specific HttpMessageHandler. |
![]() | HttpMessageInvoker(HttpMessageHandler^, Boolean) | Initializes an instance of a HttpMessageInvoker class with a specific HttpMessageHandler. |
| Name | Description | |
|---|---|---|
![]() | Dispose() | Releases the unmanaged resources and disposes of the managed resources used by the HttpMessageInvoker. |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the HttpMessageInvoker and optionally disposes of the managed resources. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | SendAsync(HttpRequestMessage^, CancellationToken) | Send an HTTP request as an asynchronous operation. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
This class is the base type for HttpClient and other message originators.
Most applications that are connecting to a web site will use one of the SendAsync methods on the HttpClient class.
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

