Table of Contents

OnResourceExecutionAsync Method

Definition

OnResourceExecutionAsync(ResourceExecutingContext, ResourceExecutionDelegate)

Called asynchronously before the rest of the pipeline.

public Task OnResourceExecutionAsync(ResourceExecutingContext context, ResourceExecutionDelegate next)

Parameters

context ResourceExecutingContext

The ResourceExecutingContext.

next ResourceExecutionDelegate

The ResourceExecutionDelegate. Invoked to execute the next resource filter or the remainder of the pipeline.

Returns

Task

A Task which will complete when the remainder of the pipeline completes.