Udostępnij przez


PageModel.OnPageHandlerExecutionAsync Metoda

Definicja

Wywoływana asynchronicznie przed wywołaniem metody obsługi po zakończeniu powiązania modelu.

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

Parametry

next
PageHandlerExecutionDelegate

Element PageHandlerExecutionDelegate. Wywołana w celu wykonania następnego filtru strony lub samej metody obsługi.

Zwraca

Element Task po zakończeniu wskazuje, że filtr został wykonany.

Implementuje

Dotyczy