Compartir a través de


IHttpContextFactory.Create(IFeatureCollection) Método

Definición

Crea una HttpContext instancia para el conjunto especificado de características HTTP.

public:
 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
Public Function Create (featureCollection As IFeatureCollection) As HttpContext

Parámetros

featureCollection
IFeatureCollection

Colección de características HTTP que se van a establecer en la instancia creada.

Devoluciones

Instancia de HttpContext.

Se aplica a