Aracılığıyla paylaş


ActionFilterAttribute.OnActionExecutionAsync Yöntem

Tanım

Model bağlama tamamlandıktan sonra eylemden önce zaman uyumsuz olarak çağrılır.

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

Parametreler

next
ActionExecutionDelegate

ActionExecutionDelegate. Sonraki eylem filtresini veya eylemin kendisini yürütmek için çağrılır.

Döndürülenler

Task Tamamlandıktan sonra filtrenin yürütüldüğünü gösteren bir.

Uygulamalar

Şunlara uygulanır