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)

属性值

适用于