Compartilhar via


IHttpApplication<TContext>.CreateContext(IFeatureCollection) Método

Definição

Crie um TContext com uma coleção de recursos HTTP.

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

Parâmetros

contextFeatures
IFeatureCollection

Uma coleção de recursos HTTP a serem usados para criar o TContext.

Retornos

TContext

O TContext criado.

Aplica-se a