IAsyncResultFilter.OnResultExecutionAsync 方法

定义

在操作结果之前异步调用。

public:
 System::Threading::Tasks::Task ^ OnResultExecutionAsync(Microsoft::AspNetCore::Mvc::Filters::ResultExecutingContext ^ context, Microsoft::AspNetCore::Mvc::Filters::ResultExecutionDelegate ^ next);
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

参数

next
ResultExecutionDelegate

ResultExecutionDelegate 调用以执行下一个结果筛选器或结果本身。

返回

完成 Task 时指示筛选器已执行。

适用于