I​Async​Result​Filter I​Async​Result​Filter Interface

Definition

A filter that asynchronously surrounds execution of the action result.
public interface IAsyncResultFilter : IFilterMetadataPublic Interface IAsyncResultFilter
    Inherits IFilterMetadata

Methods

OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate) OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate)

Called asynchronously before the action result.
Task OnResultExecutionAsync(ResultExecutingContext context, ResultExecutionDelegate next)Function OnResultExecutionAsync(context As ResultExecutingContext, next As ResultExecutionDelegate) As Task
Parameters
next
ResultExecutionDelegate ResultExecutionDelegate
The ResultExecutionDelegate. Invoked to execute the next result filter or the result itself.
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task
A System.Threading.Tasks.Task that on completion indicates the filter has executed.