Share via


FileStreamHttpResult 클래스

정의

IResult 실행할 때 스트림에서 응답에 파일을 쓰는 을 나타냅니다.

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

속성

ContentType

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

EnableRangeProcessing

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

EntityTag

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

FileDownloadName

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

FileLength

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

FileStream

응답으로 다시 전송될 파일이 있는 스트림을 가져옵니다.

LastModified

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

메서드

ExecuteAsync(HttpContext)

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

적용 대상