HttpMessageHandlerFactory.OnCreate(HttpMessageHandler) 方法

定义

当创建新的 HTTP 消息时引发事件。

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

内部通道。

返回

创建的 HTTP 消息处理程序。

适用于