PageHandlerSelectedContext(PageContext, IList<IFilterMetadata>, Object) 建構函式

定義

建立 PageHandlerExecutedContext 的新執行個體。

public:
 PageHandlerSelectedContext(Microsoft::AspNetCore::Mvc::RazorPages::PageContext ^ pageContext, System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata ^> ^ filters, System::Object ^ handlerInstance);
public PageHandlerSelectedContext (Microsoft.AspNetCore.Mvc.RazorPages.PageContext pageContext, System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata> filters, object handlerInstance);
new Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext : Microsoft.AspNetCore.Mvc.RazorPages.PageContext * System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata> * obj -> Microsoft.AspNetCore.Mvc.Filters.PageHandlerSelectedContext
Public Sub New (pageContext As PageContext, filters As IList(Of IFilterMetadata), handlerInstance As Object)

參數

pageContext
PageContext

PageContext與目前要求相關聯的。

filters
IList<IFilterMetadata>

與頁面相關聯的篩選集合。

handlerInstance
Object

與頁面相關聯的處理常式實例。

適用於