ResultExecutingContext 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 result filters, specifically OnResultExecuting(ResultExecutingContext) and OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate) calls.
public ref class ResultExecutingContext : Microsoft::AspNetCore::Mvc::Filters::FilterContext
public class ResultExecutingContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext
type ResultExecutingContext = class
inherit FilterContext
Public Class ResultExecutingContext
Inherits FilterContext
- Inheritance
Constructors
ResultExecutingContext(ActionContext, IList<IFilterMetadata>, IActionResult, Object) |
Instantiates a new ResultExecutingContext instance. |
Properties
ActionDescriptor |
Gets or sets the ActionDescriptor for the selected action. (Inherited from ActionContext) |
Cancel |
Gets or sets an indication the result filter pipeline should be short-circuited. |
Controller |
Gets the controller instance containing the action. |
Filters |
Gets all applicable IFilterMetadata implementations. (Inherited from FilterContext) |
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 to execute. Setting Result to a non- |
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) |