RequestServicesFeature(HttpContext, IServiceScopeFactory) Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de RequestServicesFeature.
public:
RequestServicesFeature(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::Extensions::DependencyInjection::IServiceScopeFactory ^ scopeFactory);
public RequestServicesFeature (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.Extensions.DependencyInjection.IServiceScopeFactory scopeFactory);
public RequestServicesFeature (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.Extensions.DependencyInjection.IServiceScopeFactory? scopeFactory);
new Microsoft.AspNetCore.Http.Features.RequestServicesFeature : Microsoft.AspNetCore.Http.HttpContext * Microsoft.Extensions.DependencyInjection.IServiceScopeFactory -> Microsoft.AspNetCore.Http.Features.RequestServicesFeature
Public Sub New (context As HttpContext, scopeFactory As IServiceScopeFactory)
Paramètres
- context
- HttpContext
L’HttpContextopérateur
- scopeFactory
- IServiceScopeFactory
L’IServiceScopeFactoryopérateur