Share via


ViewResultExecutor.ExecuteAsync(ActionContext, ViewResult) Method

Definition

Asynchronously executes the action result, by modifying the HttpResponse.

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

Parameters

context
ActionContext

The ActionContext associated with the current request."/>

result
ViewResult

The action result to execute.

Returns

A Task which represents the asynchronous operation.

Implements

Applies to