FileContentResultExecutor.ExecuteAsync 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.
Asynchronously executes the action result, by modifying the HttpResponse.
public:
virtual System::Threading::Tasks::Task ^ ExecuteAsync(Microsoft::AspNetCore::Mvc::ActionContext ^ context, Microsoft::AspNetCore::Mvc::FileContentResult ^ result);
public virtual System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.FileContentResult result);
abstract member ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.FileContentResult -> System.Threading.Tasks.Task
override this.ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.FileContentResult -> System.Threading.Tasks.Task
Public Overridable Function ExecuteAsync (context As ActionContext, result As FileContentResult) As Task
Parameters
- context
- ActionContext
The ActionContext associated with the current request."/>
- result
- FileContentResult
The action result to execute.
Returns
A Task which represents the asynchronous operation.