Condividi tramite


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

See Also

Reference

HttpMessageInvoker Class

HttpMessageInvoker Overload

System.Net.Http Namespace