Share via


AsyncControllerActionInvoker Class

Represents a class that is responsible for invoking the action methods of an asynchronous controller.

Inheritance Hierarchy

System.Object
  System.Web.Mvc.ControllerActionInvoker
    System.Web.Mvc.Async.AsyncControllerActionInvoker

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

Syntax

'Declaration
Public Class AsyncControllerActionInvoker _
    Inherits ControllerActionInvoker _
    Implements IAsyncActionInvoker, IActionInvoker
public class AsyncControllerActionInvoker : ControllerActionInvoker, 
    IAsyncActionInvoker, IActionInvoker
public ref class AsyncControllerActionInvoker : public ControllerActionInvoker, 
    IAsyncActionInvoker, IActionInvoker

The AsyncControllerActionInvoker type exposes the following members.

Constructors

  Name Description
Public method AsyncControllerActionInvoker Initializes a new instance of the AsyncControllerActionInvoker class.

Top

Properties

  Name Description
Protected property Binders Gets or sets the model binders that are associated with the action. (Inherited from ControllerActionInvoker.)

Top

Methods

  Name Description
Public method BeginInvokeAction Invokes the asynchronous action method by using the specified controller context, action name, callback method, and state.
Protected method BeginInvokeActionMethod Invokes the asynchronous action method by using the specified controller context, action descriptor, parameters, callback method, and state.
Protected method BeginInvokeActionMethodWithFilters Invokes the asynchronous action method by using the specified controller context, filters, action descriptor, parameters, callback method, and state.
Protected method CreateActionResult Creates the action result. (Inherited from ControllerActionInvoker.)
Public method EndInvokeAction Cancels the action.
Protected method EndInvokeActionMethod Cancels the action.
Protected method EndInvokeActionMethodWithFilters Cancels the action.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method FindAction Finds the information about the action method. (Inherited from ControllerActionInvoker.)
Protected method GetControllerDescriptor Returns the controller descriptor. (Overrides ControllerActionInvoker.GetControllerDescriptor(ControllerContext).)
Protected method GetFilters Retrieves information about the action filters. (Inherited from ControllerActionInvoker.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetParameterValue Gets the value of the specified action-method parameter. (Inherited from ControllerActionInvoker.)
Protected method GetParameterValues Gets the values of the action-method parameters. (Inherited from ControllerActionInvoker.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InvokeAction Invokes the specified action by using the specified controller context. (Inherited from ControllerActionInvoker.)
Protected method InvokeActionMethod Invokes the specified action method by using the specified parameters and the controller context. (Inherited from ControllerActionInvoker.)
Protected method InvokeActionMethodWithFilters Invokes the specified action method by using the specified parameters, controller context, and action filters. (Inherited from ControllerActionInvoker.)
Protected method InvokeActionResult Invokes the specified action result by using the specified controller context. (Inherited from ControllerActionInvoker.)
Protected method InvokeActionResultWithFilters Invokes the specified action result by using the specified action filters and the controller context. (Inherited from ControllerActionInvoker.)
Protected method InvokeAuthorizationFilters Invokes the specified authorization filters by using the specified action descriptor and controller context. (Inherited from ControllerActionInvoker.)
Protected method InvokeExceptionFilters Invokes the specified exception filters by using the specified exception and controller context. (Inherited from ControllerActionInvoker.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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

Reference

System.Web.Mvc.Async Namespace

Other Resources

Understanding the MVC Application Execution Process

Using an Asynchronous Controller in ASP.NET MVC