IAsyncActionFilter.OnActionExecutionAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Wird vor der Aktion asynchron aufgerufen, nachdem die Modellbindung abgeschlossen ist.
public:
System::Threading::Tasks::Task ^ OnActionExecutionAsync(Microsoft::AspNetCore::Mvc::Filters::ActionExecutingContext ^ context, Microsoft::AspNetCore::Mvc::Filters::ActionExecutionDelegate ^ next);
public 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
Public Function OnActionExecutionAsync (context As ActionExecutingContext, next As ActionExecutionDelegate) As Task
Parameter
- context
- ActionExecutingContext
Die ActionExecutionDelegate. Wird aufgerufen, um den nächsten Aktionsfilter oder die Aktion selbst auszuführen.
Gibt zurück
Eine Task , die bei Abschluss angibt, dass der Filter ausgeführt wurde.