HttpMessageInvoker HttpMessageInvoker HttpMessageInvoker HttpMessageInvoker Constructors

Definition

Overloads

HttpMessageInvoker(HttpMessageHandler) HttpMessageInvoker(HttpMessageHandler) HttpMessageInvoker(HttpMessageHandler) HttpMessageInvoker(HttpMessageHandler)

Initializes an instance of a HttpMessageInvoker class with a specific HttpMessageHandler.

HttpMessageInvoker(HttpMessageHandler, Boolean) HttpMessageInvoker(HttpMessageHandler, Boolean) HttpMessageInvoker(HttpMessageHandler, Boolean) HttpMessageInvoker(HttpMessageHandler, Boolean)

Initializes an instance of a HttpMessageInvoker class with a specific HttpMessageHandler.

HttpMessageInvoker(HttpMessageHandler) HttpMessageInvoker(HttpMessageHandler) HttpMessageInvoker(HttpMessageHandler) HttpMessageInvoker(HttpMessageHandler)

Initializes an instance of a HttpMessageInvoker class with a specific HttpMessageHandler.

public:
 HttpMessageInvoker(System::Net::Http::HttpMessageHandler ^ handler);
public HttpMessageInvoker (System.Net.Http.HttpMessageHandler handler);
new System.Net.Http.HttpMessageInvoker : System.Net.Http.HttpMessageHandler -> System.Net.Http.HttpMessageInvoker
Public Sub New (handler As HttpMessageHandler)

Parameters

handler
HttpMessageHandler HttpMessageHandler HttpMessageHandler HttpMessageHandler

The HttpMessageHandler responsible for processing the HTTP response messages.

HttpMessageInvoker(HttpMessageHandler, Boolean) HttpMessageInvoker(HttpMessageHandler, Boolean) HttpMessageInvoker(HttpMessageHandler, Boolean) HttpMessageInvoker(HttpMessageHandler, Boolean)

Initializes an instance of a HttpMessageInvoker class with a specific HttpMessageHandler.

public:
 HttpMessageInvoker(System::Net::Http::HttpMessageHandler ^ handler, bool disposeHandler);
public HttpMessageInvoker (System.Net.Http.HttpMessageHandler handler, bool disposeHandler);
new System.Net.Http.HttpMessageInvoker : System.Net.Http.HttpMessageHandler * bool -> System.Net.Http.HttpMessageInvoker
Public Sub New (handler As HttpMessageHandler, disposeHandler As Boolean)

Parameters

handler
HttpMessageHandler HttpMessageHandler HttpMessageHandler HttpMessageHandler

The HttpMessageHandler responsible for processing the HTTP response messages.

disposeHandler
Boolean Boolean Boolean Boolean

true if the inner handler should be disposed of by Dispose(), false if you intend to reuse the inner handler.

Applies to