共用方式為


HttpMessageHandlerFactory.Create(HttpMessageHandler) 方法

定義

建立新的 HTTP 訊息處理常式。

public:
 System::Net::Http::HttpMessageHandler ^ Create(System::Net::Http::HttpMessageHandler ^ innerChannel);
public System.Net.Http.HttpMessageHandler Create (System.Net.Http.HttpMessageHandler innerChannel);
member this.Create : System.Net.Http.HttpMessageHandler -> System.Net.Http.HttpMessageHandler
Public Function Create (innerChannel As HttpMessageHandler) As HttpMessageHandler

參數

innerChannel
HttpMessageHandler

內部通道。

傳回

建立的 HTTP 訊息處理常式。

適用於