ReflectedAsyncActionDescriptor Constructor

Initializes a new instance of the ReflectedAsyncActionDescriptor class.

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

'Declaration
Public Sub New ( _
	asyncMethodInfo As MethodInfo, _
	completedMethodInfo As MethodInfo, _
	actionName As String, _
	controllerDescriptor As ControllerDescriptor _
)
'Usage
Dim asyncMethodInfo As MethodInfo 
Dim completedMethodInfo As MethodInfo 
Dim actionName As String 
Dim controllerDescriptor As ControllerDescriptor 

Dim instance As New ReflectedAsyncActionDescriptor(asyncMethodInfo, _
	completedMethodInfo, actionName, _
	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").

actionName
Type: System.String

The name of the action.

controllerDescriptor
Type: System.Web.Mvc.ControllerDescriptor

The controller descriptor.

Show: