HttpConnectionOptions.HttpMessageHandlerFactory 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个委托,用于包装或替换 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)