共用方式為


ActionFilterAttribute.OnResultExecutionAsync 方法

定義

在動作結果之前以非同步方式呼叫。

public:
 virtual System::Threading::Tasks::Task ^ OnResultExecutionAsync(Microsoft::AspNetCore::Mvc::Filters::ResultExecutingContext ^ context, Microsoft::AspNetCore::Mvc::Filters::ResultExecutionDelegate ^ next);
public virtual 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
override this.OnResultExecutionAsync : Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext * Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate -> System.Threading.Tasks.Task
Public Overridable Function OnResultExecutionAsync (context As ResultExecutingContext, next As ResultExecutionDelegate) As Task

參數

next
ResultExecutionDelegate

ResultExecutionDelegate。 叫用以執行下一個結果篩選或結果本身。

傳回

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

實作

適用於