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 會在管線的其餘部分完成時完成。

適用於