Edit

Share via


HttpMessageHandlerFactory.OnCreate(HttpMessageHandler) Method

Definition

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

Parameters

innerChannel
HttpMessageHandler

The inner channel.

Returns

The created HTTP message handler.

Applies to