Partager via


HttpContextFactory.Create(IFeatureCollection) Méthode

Définition

Initialise une nouvelle instance de la classe DefaultHttpContext avec les options transmises.

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

Paramètres

featureCollection
IFeatureCollection

Options à définir lors de l’instanciation de l’objet de contexte HTTP par défaut.

Retours

Implémente

S’applique à