HttpMessageInvoker Constructor (HttpMessageHandler)
Initializes a new instance of the HttpMessageInvoker class with the specified message handler.
Namespace: System.Net.Http
Assembly: System.Net.Http (in System.Net.Http.dll)
Syntax
'Declaration
Public Sub New ( _
handler As HttpMessageHandler _
)
'Usage
Dim handler As HttpMessageHandler
Dim instance As New HttpMessageInvoker(handler)
public HttpMessageInvoker(
HttpMessageHandler handler
)
public:
HttpMessageInvoker(
HttpMessageHandler^ handler
)
new :
handler:HttpMessageHandler -> HttpMessageInvoker
public function HttpMessageInvoker(
handler : HttpMessageHandler
)
Parameters
- handler
Type: System.Net.Http.HttpMessageHandler
The handler responsible for processing the HTTP response messages.