IHttpApplication<TContext>.CreateContext(IFeatureCollection) 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.
Create a TContext given a collection of HTTP features.
public:
TContext CreateContext(Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ contextFeatures);
public TContext CreateContext (Microsoft.AspNetCore.Http.Features.IFeatureCollection contextFeatures);
abstract member CreateContext : Microsoft.AspNetCore.Http.Features.IFeatureCollection -> 'Context
Public Function CreateContext (contextFeatures As IFeatureCollection) As TContext
Parameters
- contextFeatures
- IFeatureCollection
A collection of HTTP features to be used for creating the TContext.
Returns
TContext
The created TContext.