Share via


ActionContext Class

Definition

Context object for execution of action which has been selected as part of an HTTP request.

public ref class ActionContext
public class ActionContext
type ActionContext = class
Public Class ActionContext
Inheritance
ActionContext
Derived

Constructors

ActionContext()

Creates an empty ActionContext.

ActionContext(ActionContext)

Creates a new ActionContext.

ActionContext(HttpContext, RouteData, ActionDescriptor, ModelStateDictionary)

Creates a new ActionContext.

ActionContext(HttpContext, RouteData, ActionDescriptor)

Creates a new ActionContext.

Properties

ActionDescriptor

Gets or sets the ActionDescriptor for the selected action.

HttpContext

Gets or sets the HttpContext for the current request.

ModelState

Gets the ModelStateDictionary.

RouteData

Gets or sets the RouteData for the current request.

Applies to