StaticFileResponseContext 類別

定義

包含要求和將於回應中提供之檔案的相關資訊。

C#
public class StaticFileResponseContext
繼承
StaticFileResponseContext

建構函式

屬性

Context

要求和回應資訊。

File

要提供的檔案。

適用於

產品 版本
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