共用方式為


OwinFeatureCollection.IHttpResponseBodyFeature.SendFileAsync 方法

定義

 virtual System::Threading::Tasks::Task ^ Microsoft.AspNetCore.Http.Features.IHttpResponseBodyFeature.SendFileAsync(System::String ^ path, long offset, Nullable<long> length, System::Threading::CancellationToken cancellation) = Microsoft::AspNetCore::Http::Features::IHttpResponseBodyFeature::SendFileAsync;
System.Threading.Tasks.Task IHttpResponseBodyFeature.SendFileAsync (string path, long offset, long? length, System.Threading.CancellationToken cancellation);
abstract member Microsoft.AspNetCore.Http.Features.IHttpResponseBodyFeature.SendFileAsync : string * int64 * Nullable<int64> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.Microsoft.AspNetCore.Http.Features.IHttpResponseBodyFeature.SendFileAsync : string * int64 * Nullable<int64> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Function SendFileAsync (path As String, offset As Long, length As Nullable(Of Long), cancellation As CancellationToken) As Task Implements IHttpResponseBodyFeature.SendFileAsync

參數

path
String
offset
Int64
length
Nullable<Int64>
cancellation
CancellationToken

傳回

實作

適用於