HttpMessageHandlerFactory.OnCreate(HttpMessageHandler) 方法

定義

建立新 HTTP 訊息時引發事件。Raises an event when a new HTTP message is created.

protected:
 virtual System::Net::Http::HttpMessageHandler ^ OnCreate(System::Net::Http::HttpMessageHandler ^ innerChannel);
protected virtual System.Net.Http.HttpMessageHandler OnCreate (System.Net.Http.HttpMessageHandler innerChannel);
abstract member OnCreate : System.Net.Http.HttpMessageHandler -> System.Net.Http.HttpMessageHandler
override this.OnCreate : System.Net.Http.HttpMessageHandler -> System.Net.Http.HttpMessageHandler
Protected Overridable Function OnCreate (innerChannel As HttpMessageHandler) As HttpMessageHandler

參數

innerChannel
HttpMessageHandler

內部通道。The inner channel.

傳回

建立的 HTTP 訊息處理常式。The created HTTP message handler.

適用於