FileResultExecutorBase.WriteFileAsync メソッド

定義

fileStream の内容を応答本文に書き込みます。

protected:
 static System::Threading::Tasks::Task ^ WriteFileAsync(Microsoft::AspNetCore::Http::HttpContext ^ context, System::IO::Stream ^ fileStream, Microsoft::Net::Http::Headers::RangeItemHeaderValue ^ range, long rangeLength);
protected static System.Threading.Tasks.Task WriteFileAsync (Microsoft.AspNetCore.Http.HttpContext context, System.IO.Stream fileStream, Microsoft.Net.Http.Headers.RangeItemHeaderValue range, long rangeLength);
protected static System.Threading.Tasks.Task WriteFileAsync (Microsoft.AspNetCore.Http.HttpContext context, System.IO.Stream fileStream, Microsoft.Net.Http.Headers.RangeItemHeaderValue? range, long rangeLength);
static member WriteFileAsync : Microsoft.AspNetCore.Http.HttpContext * System.IO.Stream * Microsoft.Net.Http.Headers.RangeItemHeaderValue * int64 -> System.Threading.Tasks.Task
Protected Shared Function WriteFileAsync (context As HttpContext, fileStream As Stream, range As RangeItemHeaderValue, rangeLength As Long) As Task

パラメーター

fileStream
Stream

書き込む fileStream。

rangeLength
Int64

範囲の長さ。

戻り値

非同期タスク。

適用対象