TaskHelper.ExecuteMethodInNewTask(Object, String, Object[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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[]