PageHandlerExecutedContext Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of PageHandlerExecutedContext.
public:
PageHandlerExecutedContext(Microsoft::AspNetCore::Mvc::RazorPages::PageContext ^ pageContext, System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata ^> ^ filters, Microsoft::AspNetCore::Mvc::RazorPages::Infrastructure::HandlerMethodDescriptor ^ handlerMethod, System::Object ^ handlerInstance);
public PageHandlerExecutedContext (Microsoft.AspNetCore.Mvc.RazorPages.PageContext pageContext, System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata> filters, Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor handlerMethod, object handlerInstance);
public PageHandlerExecutedContext (Microsoft.AspNetCore.Mvc.RazorPages.PageContext pageContext, System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata> filters, Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor? handlerMethod, object handlerInstance);
new Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext : Microsoft.AspNetCore.Mvc.RazorPages.PageContext * System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata> * Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandlerMethodDescriptor * obj -> Microsoft.AspNetCore.Mvc.Filters.PageHandlerExecutedContext
Public Sub New (pageContext As PageContext, filters As IList(Of IFilterMetadata), handlerMethod As HandlerMethodDescriptor, 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.
- handlerInstance
- Object
The handler instance associated with the page.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for