FileStreamResultExecutor.ExecuteAsync(ActionContext, FileStreamResult) 方法

定义

通过修改 HttpResponse异步执行操作结果。

public:
 virtual System::Threading::Tasks::Task ^ ExecuteAsync(Microsoft::AspNetCore::Mvc::ActionContext ^ context, Microsoft::AspNetCore::Mvc::FileStreamResult ^ result);
public virtual System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.FileStreamResult result);
abstract member ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.FileStreamResult -> System.Threading.Tasks.Task
override this.ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.FileStreamResult -> System.Threading.Tasks.Task
Public Overridable Function ExecuteAsync (context As ActionContext, result As FileStreamResult) As Task

参数

context
ActionContext

ActionContext 当前请求关联的 。/>

result
FileStreamResult

要执行的操作结果。

返回

表示 Task 异步操作的 。

实现

适用于