Partilhar via


TaskHelper.ExecuteMethodInNewTask(Object, String, Object[]) Method

Definition

public:
 static System::Threading::Tasks::Task<System::Object ^> ^ ExecuteMethodInNewTask(System::Object ^ instance, System::String ^ methodName, cli::array <System::Object ^> ^ args);
public static System.Threading.Tasks.Task<object> ExecuteMethodInNewTask (object instance, string methodName, object[] args);
static member ExecuteMethodInNewTask : obj * string * obj[] -> System.Threading.Tasks.Task<obj>
Public Shared Function ExecuteMethodInNewTask (instance As Object, methodName As String, args As Object()) As Task(Of Object)

Parameters

instance
Object
methodName
String
args
Object[]

Returns

Applies to