Bagikan melalui


PageModel.OnPageHandlerSelectionAsync(PageHandlerSelectedContext) Metode

Definisi

Dipanggil secara asinkron setelah metode handler dipilih, tetapi sebelum pengikatan model terjadi.

public:
 virtual System::Threading::Tasks::Task ^ OnPageHandlerSelectionAsync(Microsoft::AspNetCore::Mvc::Filters::PageHandlerSelectedContext ^ context);
public virtual System.Threading.Tasks.Task OnPageHandlerSelectionAsync (Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext context);
abstract member OnPageHandlerSelectionAsync : Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext -> System.Threading.Tasks.Task
override this.OnPageHandlerSelectionAsync : Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext -> System.Threading.Tasks.Task
Public Overridable Function OnPageHandlerSelectionAsync (context As PageHandlerSelectedContext) As Task

Parameter

Mengembalikan

Task Yang pada penyelesaian menunjukkan filter telah dijalankan.

Penerapan

Berlaku untuk