Share via


PageHandlerExecutingContext Constructor

Definition

Creates a new instance of PageHandlerExecutingContext.

public:
 PageHandlerExecutingContext(Microsoft::AspNetCore::Mvc::RazorPages::PageContext ^ pageContext, System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata ^> ^ filters, Microsoft::AspNetCore::Mvc::RazorPages::Infrastructure::HandlerMethodDescriptor ^ handlerMethod, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ handlerArguments, System::Object ^ handlerInstance);
public PageHandlerExecutingContext (Microsoft.AspNetCore.Mvc.RazorPages.PageContext pageContext, System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata> filters, Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor handlerMethod, System.Collections.Generic.IDictionary<string,object> handlerArguments, object handlerInstance);
public PageHandlerExecutingContext (Microsoft.AspNetCore.Mvc.RazorPages.PageContext pageContext, System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata> filters, Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor? handlerMethod, System.Collections.Generic.IDictionary<string,object?> handlerArguments, object handlerInstance);
new Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext : Microsoft.AspNetCore.Mvc.RazorPages.PageContext * System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata> * Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor * System.Collections.Generic.IDictionary<string, obj> * obj -> Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutingContext
Public Sub New (pageContext As PageContext, filters As IList(Of IFilterMetadata), handlerMethod As HandlerMethodDescriptor, handlerArguments As IDictionary(Of String, Object), handlerInstance As Object)

Parameters

pageContext
PageContext

The PageContext associated with the current request.

filters
IList<IFilterMetadata>

The set of filters associated with the page.

handlerMethod
HandlerMethodDescriptor

The handler method to be invoked, may be null.

handlerArguments
IDictionary<String,Object>

The arguments to provide to the handler method.

handlerInstance
Object

The handler instance associated with the page.

Applies to