ActionExecutingContext Class


Provides the context for the ActionExecuting method of the ActionFilterAttribute class.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Inheritance Hierarchy



public class ActionExecutingContext : ControllerContext
public ref class ActionExecutingContext : ControllerContext
type ActionExecutingContext = 
        inherit ControllerContext
Public Class ActionExecutingContext
    Inherits ControllerContext


Name Description
System_CAPS_pubmethod ActionExecutingContext()

Initializes a new instance of the ActionExecutingContext class.

System_CAPS_pubmethod ActionExecutingContext(ControllerContext, ActionDescriptor, IDictionary<String, Object>)

Initializes a new instance of the ActionExecutingContext class by using the specified controller context, action descriptor, and action-method parameters.


Name Description
System_CAPS_pubproperty ActionDescriptor

Gets or sets the action descriptor.

System_CAPS_pubproperty ActionParameters

Gets or sets the action-method parameters.

System_CAPS_pubproperty Controller

Gets or sets the controller.(Inherited from ControllerContext.)

System_CAPS_pubproperty DisplayMode

Gets the display mode.(Inherited from ControllerContext.)

System_CAPS_pubproperty HttpContext

Gets or sets the HTTP context.(Inherited from ControllerContext.)

System_CAPS_pubproperty IsChildAction

Gets a value that indicates whether the associated action method is a child action.(Inherited from ControllerContext.)

System_CAPS_pubproperty ParentActionViewContext

Gets an object that contains the view context information for the parent action method.(Inherited from ControllerContext.)

System_CAPS_pubproperty RequestContext

Gets or sets the request context.(Inherited from ControllerContext.)

System_CAPS_pubproperty Result

Gets or sets the result that is returned by the action method.

System_CAPS_pubproperty RouteData

Gets or sets the URL route data.(Inherited from ControllerContext.)


Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Mvc Namespace

Return to top