Dela via


IActionResultExecutor<TResult>.ExecuteAsync Method

Definition

Asynchronously executes the action result, by modifying the HttpResponse.

public System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext context, TResult result);
abstract member ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * 'Result -> System.Threading.Tasks.Task
Public Function ExecuteAsync (context As ActionContext, result As TResult) As Task

Parameters

context
ActionContext

The ActionContext associated with the current request."/>

result
TResult

The action result to execute.

Returns

A Task which represents the asynchronous operation.

Applies to