PageHandlerExecutedContext Class
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.
A context for page filters, used specifically in OnPageHandlerExecuted(PageHandlerExecutedContext) and OnPageHandlerExecutionAsync(PageHandlerExecutingContext, PageHandlerExecutionDelegate).
public ref class PageHandlerExecutedContext : Microsoft::AspNetCore::Mvc::Filters::FilterContext
public class PageHandlerExecutedContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext
type PageHandlerExecutedContext = class
inherit FilterContext
Public Class PageHandlerExecutedContext
Inherits FilterContext
- Inheritance
Constructors
PageHandlerExecutedContext(PageContext, IList<IFilterMetadata>, HandlerMethodDescriptor, Object) |
Creates a new instance of PageHandlerExecutedContext. |
Properties
ActionDescriptor |
Gets the descriptor associated with the current page. |
Canceled |
Gets or sets an indication that an page filter short-circuited the action and the page filter pipeline. |
Exception |
Gets or sets the Exception caught while executing the action or action filters, if any. |
ExceptionDispatchInfo |
Gets or sets the ExceptionDispatchInfo for the Exception, if an Exception was caught and this information captured. |
ExceptionHandled |
Gets or sets an indication that the Exception has been handled. |
Filters |
Gets all applicable IFilterMetadata implementations. (Inherited from FilterContext) |
HandlerInstance |
Gets the handler instance containing the handler method. |
HandlerMethod |
Gets the descriptor for the handler method that was invoked. |
HttpContext |
Gets or sets the HttpContext for the current request. (Inherited from ActionContext) |
ModelState |
Gets the ModelStateDictionary. (Inherited from ActionContext) |
Result |
Gets or sets the IActionResult. |
RouteData |
Gets or sets the RouteData for the current request. (Inherited from ActionContext) |
Methods
FindEffectivePolicy<TMetadata>() |
Returns the most effective (most specific) policy of type |
IsEffectivePolicy<TMetadata>(TMetadata) |
Returns a value indicating whether the provided IFilterMetadata is the most effective policy (most specific) applied to the action associated with the FilterContext. (Inherited from FilterContext) |