FileContentResultExecutor 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.
public ref class FileContentResultExecutor : Microsoft::AspNetCore::Mvc::Infrastructure::FileResultExecutorBase, Microsoft::AspNetCore::Mvc::Infrastructure::IActionResultExecutor<Microsoft::AspNetCore::Mvc::FileContentResult ^>
public class FileContentResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.FileContentResult>
type FileContentResultExecutor = class
inherit FileResultExecutorBase
interface IActionResultExecutor<FileContentResult>
Public Class FileContentResultExecutor
Inherits FileResultExecutorBase
Implements IActionResultExecutor(Of FileContentResult)
- Inheritance
- Implements
Constructors
FileContentResultExecutor(ILoggerFactory) |
Intializes a new FileContentResultExecutor. |
Fields
BufferSize |
The buffer size: 64 * 1024. (Inherited from FileResultExecutorBase) |
Properties
Logger |
The logger to use. (Inherited from FileResultExecutorBase) |
Methods
ExecuteAsync(ActionContext, FileContentResult) |
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, FileContentResult, RangeItemHeaderValue, Int64) |
Writes the file content. |
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