Click or drag to resize

McCommand Methods

The McCommand type exposes the following members.

Methods
  NameDescription
Public methodCancel
Cancel this command and its sub-commands.
Public methodClearVariables
Dispose of all references in script variables.
Public methodClone
Create a copy of this command, and connect the Executed handler.
Public methodClone(McCommand)
Create a copy of this command, and connect the Executed handler.
Public methodDispose
Releases object references hold by inputs, outputs and children.
Public methodEmailResults
Email the result of this task to the address specified.
Public methodExecute
Public methodExecute(ICommandSource)
Public methodExecute(Object)
Public methodStatic memberFromName
Returns the command registered with that name.
Public methodInstantiate
Instantiate commands that have an implementation class.
Public methodIsAncestor
Rertuns true if the parameter is the command or one of its ancestors.
Public methodOnProcessMessages
Public methodOnProgressChanged
Public methodOnStatusChanged
Public methodPost
Post this command to run out of sequence, possibly in a different thead.
Public methodPost(ThreadAffinity, TaskPriority)
Post this command to run out of sequence, possibly in a differnt thead.
Public methodRun
Run the command in the same mode as its parent script if any.
Public methodSchedule
Schedule using my ThreadingBehavior and Priority.
Public methodSchedule(ThreadAffinity, TaskPriority)
Depending on its threading behavior and priority, Run will either display and execute immediately simply display for potential later processing, or queue the command for background processing.
Public methodScheduleAndWait
Run or queue the command and wait for it to finish.
Public methodScheduleAndWait(ThreadAffinity, TaskPriority)
Run or queue the command and wait for it to finish.
Public methodValidateName
Make sure the passed string uses the proper syntax and addresses potential issues like the use of keywords in command names.
Public methodWaitForCommandToFinish
Sleeps until the command stops processing.
Top
See Also