TaskAsyncActionDescriptor Class

 

When an action method returns either Task or Task<T> the TaskAsyncActionDescriptor provides information about the action.

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


type TaskAsyncActionDescriptor = 
    class
        inherit AsyncActionDescriptor
        interface IMethodInfoActionDescriptor
    end

NameDescription
System_CAPS_pubmethodTaskAsyncActionDescriptor(MethodInfo, String, ControllerDescriptor)

Initializes a new instance of the TaskAsyncActionDescriptor class.

NameDescription
System_CAPS_pubpropertyActionName

Gets the name of the action method.(Overrides ActionDescriptor.ActionName.)

System_CAPS_pubpropertyControllerDescriptor

Gets the controller descriptor.(Overrides ActionDescriptor.ControllerDescriptor.)

System_CAPS_pubpropertyMethodInfo

System_CAPS_pubpropertyTaskMethodInfo

Gets information for the asynchronous task.

System_CAPS_pubpropertyUniqueId

Gets the unique ID for the task.(Overrides ActionDescriptor.UniqueId.)

NameDescription
System_CAPS_pubmethodBeginExecute(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).)

System_CAPS_pubmethodEndExecute(IAsyncResult)

Ends the asynchronous operation.(Overrides AsyncActionDescriptor.EndExecute(IAsyncResult).)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecute(ControllerContext, IDictionary<String, Object>)
System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetCustomAttributes(Boolean)

Returns an array of custom attributes that are defined for this member, excluding named attributes.(Overrides ActionDescriptor.GetCustomAttributes(Boolean).)

System_CAPS_pubmethodGetCustomAttributes(Type, Boolean)

Returns an array of custom attributes that are defined for this member, identified by type.(Overrides ActionDescriptor.GetCustomAttributes(Type, Boolean).)

System_CAPS_pubmethodGetFilterAttributes(Boolean)

Returns an array of all custom attributes applied to this member.(Overrides ActionDescriptor.GetFilterAttributes(Boolean).)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetParameters()

Returns the parameters of the asynchronous action method.(Overrides ActionDescriptor.GetParameters().)

System_CAPS_pubmethodGetSelectors()

Returns the asynchronous action-method selectors.(Overrides ActionDescriptor.GetSelectors().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefined(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).)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: