ReflectedAsyncActionDescriptor 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
Namespace: System.Web.Mvc.Async
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Class ReflectedAsyncActionDescriptor _
Inherits AsyncActionDescriptor
public class ReflectedAsyncActionDescriptor : AsyncActionDescriptor
public ref class ReflectedAsyncActionDescriptor : public AsyncActionDescriptor
The ReflectedAsyncActionDescriptor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ReflectedAsyncActionDescriptor | Initializes a new instance of the ReflectedAsyncActionDescriptor class. |
Top
Properties
Name | Description | |
---|---|---|
ActionName | Gets the name of the action method. (Overrides ActionDescriptor.ActionName.) | |
AsyncMethodInfo | Gets the method information for the asynchronous action method. | |
CompletedMethodInfo | Gets the method information for the asynchronous completion method. | |
ControllerDescriptor | Gets the controller descriptor for the asynchronous action method. (Overrides ActionDescriptor.ControllerDescriptor.) |
Top
Methods
Name | Description | |
---|---|---|
BeginExecute | Begins running the asynchronous action method by using the specified parameters and controller context. (Overrides AsyncActionDescriptor.BeginExecute(ControllerContext, IDictionary<String, Object>, AsyncCallback, Object).) | |
EndExecute | Returns the result of an asynchronous operation. (Overrides AsyncActionDescriptor.EndExecute(IAsyncResult).) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Execute | Executes the asynchronous action method by using the specified parameters and controller context. (Inherited from AsyncActionDescriptor.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetCustomAttributes(Boolean) | Returns an array of custom attributes that are defined for this member, excluding named attributes. (Overrides ActionDescriptor.GetCustomAttributes(Boolean).) | |
GetCustomAttributes(Type, Boolean) | Returns an array of custom attributes that are defined for this member, identified by type. (Overrides ActionDescriptor.GetCustomAttributes(Type, Boolean).) | |
GetFilters | Returns the filters that are associated with the action method. (Overrides ActionDescriptor.GetFilters().) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetParameters | Returns the parameters of the action method. (Overrides ActionDescriptor.GetParameters().) | |
GetSelectors | Returns the action method selectors. (Overrides ActionDescriptor.GetSelectors().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsDefined | Determines whether one or more instances of the specified attribute type are defined for the action member. (Overrides ActionDescriptor.IsDefined(Type, Boolean).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.