Dela via


IHttpApplication<TContext>.CreateContext(IFeatureCollection) Method

Definition

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