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.CommandsAssembly: SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.2.0.0 (1.2.14.1118)
Syntax public bool EnqueueAndRunCommand(
CommandBase toEnqueueAndRun
)
Public Function EnqueueAndRunCommand (
toEnqueueAndRun As CommandBase
) As Boolean
Parameters
- toEnqueueAndRun
- Type: SD.Tools.Algorithmia.CommandsCommandBase
The command to enqueue and run.
Return Value
Type:
Booleantrue 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