ResultFilterAttribute.OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate) Method

Definition

Called asynchronously before the action result.

public:
 virtual System::Threading::Tasks::Task ^ OnResultExecutionAsync(Microsoft::AspNetCore::Mvc::Filters::ResultExecutingContext ^ context, Microsoft::AspNetCore::Mvc::Filters::ResultExecutionDelegate ^ next);
public virtual 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
override this.OnResultExecutionAsync : Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext * Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate -> System.Threading.Tasks.Task
Public Overridable Function OnResultExecutionAsync (context As ResultExecutingContext, next As ResultExecutionDelegate) As Task

Parameters

next
ResultExecutionDelegate

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

Returns

Task

A Task that on completion indicates the filter has executed.

Implements

Applies to