AsyncActionDescriptor Class

Provides information about an asynchronous action method, such as its name, controller, parameters, attributes, and filters.

Inheritance Hierarchy

System.Object
  System.Web.Mvc.ActionDescriptor
    System.Web.Mvc.Async.AsyncActionDescriptor
      System.Web.Mvc.Async.ReflectedAsyncActionDescriptor
      System.Web.Mvc.Async.TaskAsyncActionDescriptor

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

Syntax

'Declaration
Public MustInherit Class AsyncActionDescriptor _
    Inherits ActionDescriptor
'Usage
Dim instance As AsyncActionDescriptor
public abstract class AsyncActionDescriptor : ActionDescriptor
public ref class AsyncActionDescriptor abstract : public ActionDescriptor
[<AbstractClassAttribute>]
type AsyncActionDescriptor =  
    class 
        inherit ActionDescriptor 
    end
public abstract class AsyncActionDescriptor extends ActionDescriptor

The AsyncActionDescriptor type exposes the following members.

Constructors

  Name Description
Protected method AsyncActionDescriptor Initializes a new instance of the AsyncActionDescriptor class.

Top

Properties

  Name Description
Public property ActionName Gets the name of the action method. (Inherited from ActionDescriptor.)
Public property ControllerDescriptor Gets the controller descriptor. (Inherited from ActionDescriptor.)
Public property UniqueId Gets the unique ID for the action descriptor using lazy initialization. (Inherited from ActionDescriptor.)

Top

Methods

  Name Description
Public method BeginExecute Invokes the asynchronous action method by using the specified parameters and controller context.
Public method EndExecute Returns the result of an asynchronous operation.
Public method Equals (Inherited from Object.)
Public method Execute Executes the asynchronous action method by using the specified parameters and controller context. (Overrides ActionDescriptor.Execute(ControllerContext, IDictionary<String, Object>).)
Protected method Finalize (Inherited from Object.)
Public method GetCustomAttributes(Boolean) Returns an array of custom attributes that are defined for this member, excluding named attributes. (Inherited from ActionDescriptor.)
Public method GetCustomAttributes(Type, Boolean) Returns an array of custom attributes that are defined for this member, identified by type. (Inherited from ActionDescriptor.)
Public method GetFilterAttributes Gets the filter attributes. (Inherited from ActionDescriptor.)
Public method GetFilters Obsolete. Returns the filters that are associated with this action method. (Inherited from ActionDescriptor.)
Public method GetHashCode (Inherited from Object.)
Public method GetParameters Returns the parameters of the action method. (Inherited from ActionDescriptor.)
Public method GetSelectors Returns the action-method selectors. (Inherited from ActionDescriptor.)
Public method GetType (Inherited from Object.)
Public method IsDefined Determines whether one or more instances of the specified attribute type are defined for this member. (Inherited from ActionDescriptor.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (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