IAsyncResultFilter.OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate) IAsyncResultFilter.OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate) IAsyncResultFilter.OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate) Method

Definition

Called asynchronously before the action result.

public System.Threading.Tasks.Task OnResultExecutionAsync (Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext context, Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate next);
abstract member OnResultExecutionAsync : Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext * Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate -> System.Threading.Tasks.Task
Public Function OnResultExecutionAsync (context As ResultExecutingContext, next As ResultExecutionDelegate) As Task

Parameters

next
ResultExecutionDelegate ResultExecutionDelegate ResultExecutionDelegate

The ResultExecutionDelegate. Invoked to execute the next result filter or the result itself.

Returns

A Task that on completion indicates the filter has executed.

Applies to