Click or drag to resize

TaskUtilitiesStartSTAThreadTask Method (Action)

Starts a a new STA thread and run the specified action.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static Task StartSTAThreadTask(
	Action action
)

Parameters

action
Type: SystemAction
The action.

Return Value

Type: Task
An instance of the Task class.
Exceptions
ExceptionCondition
ArgumentNullExceptionaction is null.
See Also