Click or drag to resize

CommandQueueManagerEnqueueAndRunCommand Method

Enqueues and runs the command in the top queue on the active stack. It expects there is an active command queue: if it's not one activated by the callee, it's the one belonging to this manager, which owns its own main queue.

Namespace:  SD.Tools.Algorithmia.Commands
Assembly:  SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.3.3.0 (1.3.18.0209)
Syntax
public bool EnqueueAndRunCommand(
	CommandBase toEnqueueAndRun
)

Parameters

toEnqueueAndRun
Type: SD.Tools.Algorithmia.CommandsCommandBase
The command to enqueue and run.

Return Value

Type: Boolean
true if enqueue and Do succeeded, false otherwise
Remarks
If enqueue action fails due to an undo action that's in progress and ThrowExceptionOnDoDuringUndo is set to false, this routine is a no-op
See Also