Call a method in an asynchronous task

You can call a method with parameters in an asynchronous task.

Syntax example

private LongRunningTask asynchronousTask; [ExportMethod] public void Method1() { IUAVariable Var1 asynchronousTask = new LongRunningTask(() => Logic1(Var1), LogicObject); } public void Logic1(IUAVariable Var1) { // Insert code to be run }
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.