CommandInCycle Property

Description
Returns whether a method is being executed.

Syntax
ReadOnly Property CommandInCycle As Boolean

Return value
A Boolean value that is True if a method is executing, False if not.

See Also
AsyncMode Property

CommandInCycle Example
VB Example:

If m_spel.CommandInCycle Then  
    MsgBox "A SPEL command is executing, operation aborted"  
End If  

C# Example:

if (m_spel.CommandInCycle)  
    MessageBox.Show("SPEL command is executing, operation aborted");