OwinFeatureCollection.IHttpResponseBodyFeature.SendFileAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- path
- String
- offset
- Int64
- cancellation
- CancellationToken