Share via


ForbidResult.ExecuteResultAsync(ActionContext) Method

Definition

Executes the result operation of the action method asynchronously. This method is called by MVC to process the result of an action method. The default implementation of this method calls the ExecuteResult(ActionContext) method and returns a completed task.

public:
 override System::Threading::Tasks::Task ^ ExecuteResultAsync(Microsoft::AspNetCore::Mvc::ActionContext ^ context);
public override System.Threading.Tasks.Task ExecuteResultAsync (Microsoft.AspNetCore.Mvc.ActionContext context);
override this.ExecuteResultAsync : Microsoft.AspNetCore.Mvc.ActionContext -> System.Threading.Tasks.Task
Public Overrides Function ExecuteResultAsync (context As ActionContext) As Task

Parameters

context
ActionContext

The context in which the result is executed. The context information includes information about the action that was executed and request information.

Returns

A task that represents the asynchronous execute operation.

Applies to