ReflectedAsyncActionDescriptor Constructor (MethodInfo, MethodInfo, String, ControllerDescriptor)

 

Initializes a new instance of the ReflectedAsyncActionDescriptor class.

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

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").

actionName
Type: System.String

The name of the action.

controllerDescriptor
Type: System.Web.Mvc.ControllerDescriptor

The controller descriptor.

Return to top
Show: