StaticFileResponseContext Oluşturucular
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
StaticFileResponseContext() |
Geçersiz.
öğesini StaticFileResponseContextoluşturur. |
StaticFileResponseContext(HttpContext, IFileInfo) |
öğesini StaticFileResponseContextoluşturur. |
StaticFileResponseContext()
- Kaynak:
- StaticFileResponseContext.cs
- Kaynak:
- StaticFileResponseContext.cs
Dikkat
Use the constructor that passes in the HttpContext and IFileInfo parameters: StaticFileResponseContext(HttpContext context, IFileInfo file)
öğesini StaticFileResponseContextoluşturur.
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 ()
- Öznitelikler
Şunlara uygulanır
StaticFileResponseContext(HttpContext, IFileInfo)
- Kaynak:
- StaticFileResponseContext.cs
öğesini StaticFileResponseContextoluşturur.
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)
Parametreler
- context
- HttpContext
İstek ve yanıt bilgileri.
- file
- IFileInfo
Sunulacak dosya.
Şunlara uygulanır
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin