ReflectedAsyncActionDescriptor Constructor

Definition

Initializes a new instance of the ReflectedAsyncActionDescriptor class.

public ReflectedAsyncActionDescriptor (System.Reflection.MethodInfo asyncMethodInfo, System.Reflection.MethodInfo completedMethodInfo, string actionName, System.Web.Mvc.ControllerDescriptor controllerDescriptor);
new System.Web.Mvc.Async.ReflectedAsyncActionDescriptor : System.Reflection.MethodInfo * System.Reflection.MethodInfo * string * System.Web.Mvc.ControllerDescriptor -> System.Web.Mvc.Async.ReflectedAsyncActionDescriptor
Public Sub New (asyncMethodInfo As MethodInfo, completedMethodInfo As MethodInfo, actionName As String, controllerDescriptor As ControllerDescriptor)

Parameters

asyncMethodInfo
MethodInfo

An object that contains information about the method that begins the asynchronous operation (the method whose name ends with "Asynch").

completedMethodInfo
MethodInfo

An object that contains information about the completion method (method whose name ends with "Completed").

actionName
String

The name of the action.

controllerDescriptor
ControllerDescriptor

The controller descriptor.

Applies to