ResultExecutingContext ResultExecutingContext ResultExecutingContext Class

Definition

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

Constructors

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

Instantiates a new ResultExecutingContext instance.

Properties

ActionDescriptor ActionDescriptor ActionDescriptor

Gets or sets the ActionDescriptor for the selected action.

(Inherited from ActionContext)
Cancel Cancel Cancel

Gets or sets an indication the result filter pipeline should be short-circuited.

Controller Controller Controller

Gets the controller instance containing the action.

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 or sets the IActionResult to execute. Setting Result to a non-null value inside a result filter will short-circuit the result and any remaining result filters.

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