FileStreamResultExecutor Class
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.
An IActionResultExecutor<TResult> for a file stream result.
public ref class FileStreamResultExecutor : Microsoft::AspNetCore::Mvc::Infrastructure::FileResultExecutorBase, Microsoft::AspNetCore::Mvc::Infrastructure::IActionResultExecutor<Microsoft::AspNetCore::Mvc::FileStreamResult ^>
public class FileStreamResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.FileStreamResult>
type FileStreamResultExecutor = class
inherit FileResultExecutorBase
interface IActionResultExecutor<FileStreamResult>
Public Class FileStreamResultExecutor
Inherits FileResultExecutorBase
Implements IActionResultExecutor(Of FileStreamResult)
- Inheritance
- Implements
Constructors
FileStreamResultExecutor(ILoggerFactory) |
Initializes a new FileStreamResultExecutor. |
Fields
BufferSize |
The buffer size: 64 * 1024. (Inherited from FileResultExecutorBase) |
Properties
Logger |
The logger to use. (Inherited from FileResultExecutorBase) |
Methods
ExecuteAsync(ActionContext, FileStreamResult) |
Asynchronously executes the action result, by modifying the HttpResponse. |
SetHeadersAndLog(ActionContext, FileResult, Nullable<Int64>, Boolean, Nullable<DateTimeOffset>, EntityTagHeaderValue) |
Sets etag and last modified headers. (Inherited from FileResultExecutorBase) |
WriteFileAsync(ActionContext, FileStreamResult, RangeItemHeaderValue, Int64) |
Write the contents of the FileStreamResult to the response body. |
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: