Share via


FileContentHttpResult 클래스

정의

IResult 실행될 때 콘텐츠의 파일을 응답에 쓰는 을 나타냅니다.

public sealed class FileContentHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IFileHttpResult, Microsoft.AspNetCore.Http.IResult
type FileContentHttpResult = class
    interface IResult
    interface IFileHttpResult
    interface IContentTypeHttpResult
Public NotInheritable Class FileContentHttpResult
Implements IContentTypeHttpResult, IFileHttpResult, IResult
상속
FileContentHttpResult
구현

속성

ContentType

응답에 대한 Content-Type 헤더를 가져옵니다.

EnableRangeProcessing

파일 결과에 대한 범위 처리를 사용하도록 설정하는 값을 가져옵니다.

EntityTag

파일 결과와 연결된 etag를 가져옵니다.

FileContents

파일 내용을 가져오거나 설정합니다.

FileDownloadName

응답의 Content-Disposition 헤더에 사용할 파일 이름을 가져옵니다.

FileLength

파일 길이 정보를 가져오거나 설정합니다.

LastModified

파일 결과와 연결된 마지막으로 수정된 정보를 가져옵니다.

메서드

ExecuteAsync(HttpContext)

결과를 반영하는 HTTP 응답을 작성합니다.

적용 대상