IAsyncResourceFilter.OnResourceExecutionAsync 方法

定义

在管道的其余部分之前异步调用。

public:
 System::Threading::Tasks::Task ^ OnResourceExecutionAsync(Microsoft::AspNetCore::Mvc::Filters::ResourceExecutingContext ^ context, Microsoft::AspNetCore::Mvc::Filters::ResourceExecutionDelegate ^ next);
public System.Threading.Tasks.Task OnResourceExecutionAsync (Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext context, Microsoft.AspNetCore.Mvc.Filters.ResourceExecutionDelegate next);
abstract member OnResourceExecutionAsync : Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext * Microsoft.AspNetCore.Mvc.Filters.ResourceExecutionDelegate -> System.Threading.Tasks.Task
Public Function OnResourceExecutionAsync (context As ResourceExecutingContext, next As ResourceExecutionDelegate) As Task

参数

next
ResourceExecutionDelegate

ResourceExecutionDelegate 调用以执行下一个资源筛选器或管道的其余部分。

返回

一个 , Task 它将在管道的其余部分完成时完成。

适用于