共用方式為


ActionFilterAttribute.OnActionExecutionAsync 方法

定義

在動作完成之後,以非同步方式呼叫 動作。

public:
 virtual System::Threading::Tasks::Task ^ OnActionExecutionAsync(Microsoft::AspNetCore::Mvc::Filters::ActionExecutingContext ^ context, Microsoft::AspNetCore::Mvc::Filters::ActionExecutionDelegate ^ next);
public virtual System.Threading.Tasks.Task OnActionExecutionAsync (Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext context, Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate next);
abstract member OnActionExecutionAsync : Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext * Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate -> System.Threading.Tasks.Task
override this.OnActionExecutionAsync : Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext * Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate -> System.Threading.Tasks.Task
Public Overridable Function OnActionExecutionAsync (context As ActionExecutingContext, next As ActionExecutionDelegate) As Task

參數

next
ActionExecutionDelegate

ActionExecutionDelegate。 叫用以執行下一個動作篩選或動作本身。

傳回

Task完成時,表示已執行篩選。

實作

適用於