Form FlowsheetRun Code On UIThread 2 Method
Schedules an action to run on the UI thread and returns a Task that completes when the action finishes.
Definition
Namespace: DWSIM
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
A task representing the pending UI execution.
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
C#
public Task RunCodeOnUIThread2(
Action act
)VB
Public Function RunCodeOnUIThread2 (
act As Action
) As TaskParameters
- act Action
- The action to schedule.
Return Value
TaskA task representing the pending UI execution.