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
Returns
Implements
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for