Compartilhar via


HttpContextFactory.Create(IFeatureCollection) Método

Definição

Inicializa uma nova instância da classe DefaultHttpContext com opções passadas.

public:
 virtual Microsoft::AspNetCore::Http::HttpContext ^ Create(Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ featureCollection);
public Microsoft.AspNetCore.Http.HttpContext Create (Microsoft.AspNetCore.Http.Features.IFeatureCollection featureCollection);
abstract member Create : Microsoft.AspNetCore.Http.Features.IFeatureCollection -> Microsoft.AspNetCore.Http.HttpContext
override this.Create : Microsoft.AspNetCore.Http.Features.IFeatureCollection -> Microsoft.AspNetCore.Http.HttpContext
Public Function Create (featureCollection As IFeatureCollection) As HttpContext

Parâmetros

featureCollection
IFeatureCollection

Opções a serem definidas ao instanciar o objeto de contexto HTTP Padrão.

Retornos

Implementações

Aplica-se a