IAsyncPageFilter.OnPageHandlerExecutionAsync Metode

Definisi

Dipanggil secara asinkron sebelum metode handler dipanggil, setelah pengikatan model selesai.

public:
 System::Threading::Tasks::Task ^ OnPageHandlerExecutionAsync(Microsoft::AspNetCore::Mvc::Filters::PageHandlerExecutingContext ^ context, Microsoft::AspNetCore::Mvc::Filters::PageHandlerExecutionDelegate ^ next);
public 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
Public Function OnPageHandlerExecutionAsync (context As PageHandlerExecutingContext, next As PageHandlerExecutionDelegate) As Task

Parameter

next
PageHandlerExecutionDelegate

PageHandlerExecutionDelegate. Dipanggil untuk menjalankan filter halaman berikutnya atau metode handler itu sendiri.

Mengembalikan

Task Yang pada penyelesaian menunjukkan filter telah dijalankan.

Berlaku untuk