HttpMessageHandlerFactory.OnCreate(HttpMessageHandler) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.