共用方式為


HttpMessageHandlerFactoryExtensions.CreateHandler 方法

定義

使用預設組態建立新 HttpMessageHandler

public:
[System::Runtime::CompilerServices::Extension]
 static System::Net::Http::HttpMessageHandler ^ CreateHandler(System::Net::Http::IHttpMessageHandlerFactory ^ factory);
public static System.Net.Http.HttpMessageHandler CreateHandler (this System.Net.Http.IHttpMessageHandlerFactory factory);
static member CreateHandler : System.Net.Http.IHttpMessageHandlerFactory -> System.Net.Http.HttpMessageHandler
<Extension()>
Public Function CreateHandler (factory As IHttpMessageHandlerFactory) As HttpMessageHandler

參數

傳回

使用預設組態設定的 HttpMessageHandler

適用於