Bagikan melalui


ReflectedAsyncActionDescriptor Konstruktor

Definisi

Menginisialisasi instans baru kelas ReflectedAsyncActionDescriptor.

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)

Parameter

asyncMethodInfo
MethodInfo

Objek yang berisi informasi tentang metode yang memulai operasi asinkron (metode yang namanya berakhiran "Asynch").

completedMethodInfo
MethodInfo

Objek yang berisi informasi tentang metode penyelesaian (metode yang namanya berakhiran dengan "Selesai").

actionName
String

Nama tindakan.

controllerDescriptor
ControllerDescriptor

Deskriptor pengontrol.

Berlaku untuk