다음을 통해 공유


StaticFileResponseContext 생성자

정의

오버로드

StaticFileResponseContext()
사용되지 않음.

을 생성합니다 StaticFileResponseContext.

StaticFileResponseContext(HttpContext, IFileInfo)

을 생성합니다 StaticFileResponseContext.

StaticFileResponseContext()

Source:
StaticFileResponseContext.cs
Source:
StaticFileResponseContext.cs

주의

Use the constructor that passes in the HttpContext and IFileInfo parameters: StaticFileResponseContext(HttpContext context, IFileInfo file)

을 생성합니다 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 ()
특성

적용 대상

StaticFileResponseContext(HttpContext, IFileInfo)

Source:
StaticFileResponseContext.cs

을 생성합니다 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)

매개 변수

context
HttpContext

요청 및 응답 정보입니다.

file
IFileInfo

처리할 파일입니다.

적용 대상