TaskAsyncActionDescriptor Class
When an action method returns either Task or Task<T> the TaskAsyncActionDescriptor provides information about the action.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
System.Web.Mvc.ActionDescriptor
System.Web.Mvc.Async.AsyncActionDescriptor
System.Web.Mvc.Async.TaskAsyncActionDescriptor
| Name | Description | |
|---|---|---|
![]() | TaskAsyncActionDescriptor(MethodInfo, String, ControllerDescriptor) | Initializes a new instance of the TaskAsyncActionDescriptor class. |
| Name | Description | |
|---|---|---|
![]() | ActionName | Gets the name of the action method.(Overrides ActionDescriptor.ActionName.) |
![]() | ControllerDescriptor | Gets the controller descriptor.(Overrides ActionDescriptor.ControllerDescriptor.) |
![]() | MethodInfo | |
![]() | TaskMethodInfo | Gets information for the asynchronous task. |
![]() | UniqueId | Gets the unique ID for the task.(Overrides ActionDescriptor.UniqueId.) |
| Name | Description | |
|---|---|---|
![]() | BeginExecute(ControllerContext, IDictionary<String, Object>, AsyncCallback, Object) | Invokes the asynchronous action method using the specified parameters, controller context callback and state.(Overrides AsyncActionDescriptor.BeginExecute(ControllerContext, IDictionary<String, Object>, AsyncCallback, Object).) |
![]() | EndExecute(IAsyncResult) | Ends the asynchronous operation.(Overrides AsyncActionDescriptor.EndExecute(IAsyncResult).) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Execute(ControllerContext, IDictionary<String, Object>) | Executes the asynchronous action method(Overrides AsyncActionDescriptor.Execute(ControllerContext, IDictionary<String, Object>).) |
![]() | Finalize() | (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).) |
![]() | GetFilterAttributes(Boolean) | Returns an array of all custom attributes applied to this member.(Overrides ActionDescriptor.GetFilterAttributes(Boolean).) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetParameters() | Returns the parameters of the asynchronous action method.(Overrides ActionDescriptor.GetParameters().) |
![]() | GetSelectors() | Returns the asynchronous action-method selectors.(Overrides ActionDescriptor.GetSelectors().) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefined(Type, Boolean) | Returns a value that indicates whether one or more instance of the specified custom attribute are defined for this member.(Overrides ActionDescriptor.IsDefined(Type, Boolean).) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)