VirtualPathContext Constructeurs
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.
- Source:
- VirtualPathContext.cs
- Source:
- VirtualPathContext.cs
- Source:
- VirtualPathContext.cs
Crée une instance de VirtualPathContext.
public:
VirtualPathContext(Microsoft::AspNetCore::Http::HttpContext ^ httpContext, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ ambientValues, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ values);
public VirtualPathContext (Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteValueDictionary ambientValues, Microsoft.AspNetCore.Routing.RouteValueDictionary values);
new Microsoft.AspNetCore.Routing.VirtualPathContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Routing.VirtualPathContext
Public Sub New (httpContext As HttpContext, ambientValues As RouteValueDictionary, values As RouteValueDictionary)
Paramètres
- httpContext
- HttpContext
HttpContext associé à la requête actuelle.
- ambientValues
- RouteValueDictionary
Ensemble de valeurs de route associées à la requête actuelle.
- values
- RouteValueDictionary
Ensemble de nouvelles valeurs fournies pour la génération de chemin d’accès virtuel.
S’applique à
ASP.NET Core 9.0 et autres versions
Produit | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
- Source:
- VirtualPathContext.cs
- Source:
- VirtualPathContext.cs
- Source:
- VirtualPathContext.cs
Crée une instance de VirtualPathContext.
public:
VirtualPathContext(Microsoft::AspNetCore::Http::HttpContext ^ httpContext, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ ambientValues, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ values, System::String ^ routeName);
public VirtualPathContext (Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteValueDictionary ambientValues, Microsoft.AspNetCore.Routing.RouteValueDictionary values, string routeName);
public VirtualPathContext (Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.RouteValueDictionary ambientValues, Microsoft.AspNetCore.Routing.RouteValueDictionary values, string? routeName);
new Microsoft.AspNetCore.Routing.VirtualPathContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.AspNetCore.Routing.RouteValueDictionary * string -> Microsoft.AspNetCore.Routing.VirtualPathContext
Public Sub New (httpContext As HttpContext, ambientValues As RouteValueDictionary, values As RouteValueDictionary, routeName As String)
Paramètres
- httpContext
- HttpContext
HttpContext associé à la requête actuelle.
- ambientValues
- RouteValueDictionary
Ensemble de valeurs de route associées à la requête actuelle.
- values
- RouteValueDictionary
Ensemble de nouvelles valeurs fournies pour la génération de chemin d’accès virtuel.
- routeName
- String
Nom de l’itinéraire à utiliser pour la génération de chemin d’accès virtuel.
S’applique à
ASP.NET Core 9.0 et autres versions
Produit | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |