ActionExecutedContext Class

 

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

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

Inheritance Hierarchy

System.Object
  System.Web.Mvc.ControllerContext
    System.Web.Mvc.ActionExecutedContext

Syntax

public class ActionExecutedContext : ControllerContext
public ref class ActionExecutedContext : ControllerContext
type ActionExecutedContext = 
    class
        inherit ControllerContext
    end
Public Class ActionExecutedContext
    Inherits ControllerContext

Constructors

Name Description
System_CAPS_pubmethod ActionExecutedContext()

Initializes a new instance of the ActionExecutedContext class.

System_CAPS_pubmethod ActionExecutedContext(ControllerContext, ActionDescriptor, Boolean, Exception)

Initializes a new instance of the ActionExecutedContext class.

Properties

Name Description
System_CAPS_pubproperty ActionDescriptor

Gets or sets the action descriptor.

System_CAPS_pubproperty Canceled

Gets or sets a value that indicates that this ActionExecutedContext object is canceled.

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 Exception

Gets or sets the exception that occurred during the execution of the action method, if any.

System_CAPS_pubproperty ExceptionHandled

Gets or sets a value that indicates whether the exception is handled.

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 returned by the action method.

System_CAPS_pubproperty RouteData

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

Methods

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