TaskUtilitiesEnsureSTAThreadTask Method |
| Name | Description | |
|---|---|---|
| EnsureSTAThreadTask(Action) |
If the current thread is STA, run the specified action, otherwise start an STA thread and run the action in this new thread.
| |
| EnsureSTAThreadTaskT(FuncT) |
If the current thread is STA, run the specified function, otherwise start an STA thread and run the function in this new thread.
|