StaticFileResponseContext Constructeurs
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.
Surcharges
StaticFileResponseContext() |
Obsolète.
Construit le StaticFileResponseContext. |
StaticFileResponseContext(HttpContext, IFileInfo) |
Construit le StaticFileResponseContext. |
StaticFileResponseContext()
- Source:
- StaticFileResponseContext.cs
- Source:
- StaticFileResponseContext.cs
Attention
Use the constructor that passes in the HttpContext and IFileInfo parameters: StaticFileResponseContext(HttpContext context, IFileInfo file)
Construit le StaticFileResponseContext.
public:
StaticFileResponseContext();
public StaticFileResponseContext ();
[System.Obsolete("Use the constructor that passes in the HttpContext and IFileInfo parameters: StaticFileResponseContext(HttpContext context, IFileInfo file)", false)]
public StaticFileResponseContext ();
Public Sub New ()
- Attributs
S’applique à
StaticFileResponseContext(HttpContext, IFileInfo)
- Source:
- StaticFileResponseContext.cs
Construit le StaticFileResponseContext.
public:
StaticFileResponseContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::Extensions::FileProviders::IFileInfo ^ file);
public StaticFileResponseContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.Extensions.FileProviders.IFileInfo file);
new Microsoft.AspNetCore.StaticFiles.StaticFileResponseContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.Extensions.FileProviders.IFileInfo -> Microsoft.AspNetCore.StaticFiles.StaticFileResponseContext
Public Sub New (context As HttpContext, file As IFileInfo)
Paramètres
- context
- HttpContext
Les informations de demande et de réponse.
- file
- IFileInfo
Le fichier à servir.