OwinFeatureCollection.IHttpResponseBodyFeature.SendFileAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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
- cancellation
- CancellationToken