OwinFeatureCollection.IHttpSendFileFeature.SendFileAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
virtual System::Threading::Tasks::Task ^ Microsoft.AspNetCore.Http.Features.IHttpSendFileFeature.SendFileAsync(System::String ^ path, long offset, Nullable<long> length, System::Threading::CancellationToken cancellation) = Microsoft::AspNetCore::Http::Features::IHttpSendFileFeature::SendFileAsync;
System.Threading.Tasks.Task IHttpSendFileFeature.SendFileAsync (string path, long offset, long? length, System.Threading.CancellationToken cancellation);
abstract member Microsoft.AspNetCore.Http.Features.IHttpSendFileFeature.SendFileAsync : string * int64 * Nullable<int64> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.Microsoft.AspNetCore.Http.Features.IHttpSendFileFeature.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 IHttpSendFileFeature.SendFileAsync
参数
- path
- String
- offset
- Int64
- cancellation
- CancellationToken