IActionResultExecutor<TResult>.ExecuteAsync Method

Definition

Asynchronously executes the action result, by modifying the HttpResponse.

C#
public System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext context, TResult result);

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

Tuote Versiot
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0