ResultExecutedContext ResultExecutedContext ResultExecutedContext Class

Definition

A context for result filters, specifically OnResultExecuted(ResultExecutedContext) calls.

public class ResultExecutedContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext
type ResultExecutedContext = class
    inherit FilterContext
Public Class ResultExecutedContext
Inherits FilterContext
Inheritance
ResultExecutedContextResultExecutedContextResultExecutedContext

Constructors

ResultExecutedContext(ActionContext, IList<IFilterMetadata>, IActionResult, Object) ResultExecutedContext(ActionContext, IList<IFilterMetadata>, IActionResult, Object) ResultExecutedContext(ActionContext, IList<IFilterMetadata>, IActionResult, Object)

Instantiates a new ResultExecutedContext instance.

Properties

ActionDescriptor ActionDescriptor ActionDescriptor

Gets or sets the ActionDescriptor for the selected action.

(Inherited from ActionContext)
Canceled Canceled Canceled

Gets or sets an indication that a result filter set Cancel to true and short-circuited the filter pipeline.

Controller Controller Controller

Gets the controller instance containing the action.

Exception Exception Exception

Gets or sets the Exception caught while executing the result or result filters, if any.

ExceptionDispatchInfo ExceptionDispatchInfo ExceptionDispatchInfo

Gets or sets the ExceptionDispatchInfo for the Exception, if an Exception was caught and this information captured.

ExceptionHandled ExceptionHandled ExceptionHandled

Gets or sets an indication that the Exception has been handled.

Filters Filters Filters

Gets all applicable IFilterMetadata implementations.

(Inherited from FilterContext)
HttpContext HttpContext HttpContext

Gets or sets the HttpContext for the current request.

(Inherited from ActionContext)
ModelState ModelState ModelState

Gets the ModelStateDictionary.

(Inherited from ActionContext)
Result Result Result

Gets the IActionResult copied from Result.

RouteData RouteData RouteData

Gets or sets the RouteData for the current request.

(Inherited from ActionContext)

Methods

FindEffectivePolicy<TMetadata>() FindEffectivePolicy<TMetadata>() FindEffectivePolicy<TMetadata>()

Returns the most effective (most specific) policy of type TMetadata applied to the action associated with the FilterContext.

(Inherited from FilterContext)
IsEffectivePolicy<TMetadata>(TMetadata) IsEffectivePolicy<TMetadata>(TMetadata) 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)

Applies to