Compartilhar via


ReflectedAsyncActionDescriptor Constructor

Initializes a new instance of the ReflectedAsyncActionDescriptor class.

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

Syntax

'Declaration
Public Sub New ( _
    asyncMethodInfo As MethodInfo, _
    completedMethodInfo As MethodInfo, _
    actionName As String, _
    controllerDescriptor As ControllerDescriptor _
)
public ReflectedAsyncActionDescriptor(
    MethodInfo asyncMethodInfo,
    MethodInfo completedMethodInfo,
    string actionName,
    ControllerDescriptor controllerDescriptor
)
public:
ReflectedAsyncActionDescriptor(
    MethodInfo^ asyncMethodInfo, 
    MethodInfo^ completedMethodInfo, 
    String^ actionName, 
    ControllerDescriptor^ controllerDescriptor
)

Parameters

  • asyncMethodInfo
    Type: System.Reflection.MethodInfo
    An object that contains information about the method that begins the asynchronous operation (the method whose name ends with "Asynch").
  • completedMethodInfo
    Type: System.Reflection.MethodInfo
    An object that contains information about the completion method (method whose name ends with "Completed").

See Also

Reference

ReflectedAsyncActionDescriptor Class

System.Web.Mvc.Async Namespace