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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for