HttpConnectionOptions.HttpMessageHandlerFactory 属性

定义

获取或设置用于包装或替换 HttpMessageHandlerFactory 将进行 HTTP 请求的 的委托。

public:
 property Func<System::Net::Http::HttpMessageHandler ^, System::Net::Http::HttpMessageHandler ^> ^ HttpMessageHandlerFactory { Func<System::Net::Http::HttpMessageHandler ^, System::Net::Http::HttpMessageHandler ^> ^ get(); void set(Func<System::Net::Http::HttpMessageHandler ^, System::Net::Http::HttpMessageHandler ^> ^ value); };
public Func<System.Net.Http.HttpMessageHandler,System.Net.Http.HttpMessageHandler> HttpMessageHandlerFactory { get; set; }
public Func<System.Net.Http.HttpMessageHandler,System.Net.Http.HttpMessageHandler>? HttpMessageHandlerFactory { get; set; }
member this.HttpMessageHandlerFactory : Func<System.Net.Http.HttpMessageHandler, System.Net.Http.HttpMessageHandler> with get, set
Public Property HttpMessageHandlerFactory As Func(Of HttpMessageHandler, HttpMessageHandler)

属性值

Func<HttpMessageHandler,HttpMessageHandler>

适用于