TaskUtilitiesStartSTAThreadTaskT Method (FuncT) |
Starts a a new STA thread and run the specified function.
Namespace:
callback.ShellBoost.Core.Utilities
Assembly:
callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax public static Task<T> StartSTAThreadTask<T>(
Func<T> func
)
Parameters
- func
- Type: SystemFuncT
The function.
Type Parameters
- T
- The return type
Return Value
Type:
TaskTAn instance of the Task class.
Exceptions See Also