SendFileResponseExtensions 類別

定義

提供 HttpResponse 公開 SendFile 延伸模組的延伸模組。

public ref class SendFileResponseExtensions abstract sealed
public static class SendFileResponseExtensions
type SendFileResponseExtensions = class
Public Module SendFileResponseExtensions
繼承
SendFileResponseExtensions

方法

SendFileAsync(HttpResponse, IFileInfo, CancellationToken)

使用 SendFile 延伸模組傳送給定的檔案。

SendFileAsync(HttpResponse, IFileInfo, Int64, Nullable<Int64>, CancellationToken)

使用 SendFile 延伸模組傳送給定的檔案。

SendFileAsync(HttpResponse, String, CancellationToken)

使用 SendFile 延伸模組傳送給定的檔案。

SendFileAsync(HttpResponse, String, Int64, Nullable<Int64>, CancellationToken)

使用 SendFile 延伸模組傳送給定的檔案。

適用於