  | ParallelStartBackground Method (Action, Action) | 
            Starts a task in a secondary worker thread. Intended for long running, blocking, work
            such as I/O.
            
 
Namespace: DigitalRune.ThreadingAssembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntaxpublic static Task StartBackground(
	Action action,
	Action completionCallback
)
Public Shared Function StartBackground ( 
	action As Action,
	completionCallback As Action
) As Task
public:
static Task StartBackground(
	Action^ action, 
	Action^ completionCallback
)
static member StartBackground : 
        action : Action * 
        completionCallback : Action -> Task 
Parameters
- action
 - Type: SystemAction
The work to execute. - completionCallback
 - Type: SystemAction
            A method which will be called in RunCallbacks once this task has completed.
             
Return Value
Type: 
TaskA task which represents the asynchronous operation.
Exceptions
RemarksImportant: The completion callback is not executed automatically. Instead, 
            the callback is only executed when 
RunCallbacks is called. See 
            
RunCallbacks for additional information.
            
 
See Also