IVsaEngine.IsRunning Property

Gets a Boolean value that reports whether the script engine is currently in run mode.

public: _property bool get_IsRunning();
public bool IsRunning { get; }
Public Property Get IsRunning() As Boolean

Return Value

Returns true if the script engine is running. Returns false if the script engine is not running. The default value for this property is false.

Remarks

The following table shows the exceptions that the IsRunning property can throw.

Exception Type

Condition

EngineClosed

The IVsaEngine.Close method has been called and the engine is closed.

EngineBusy

The engine is currently executing code for another thread.

EngineNotInitialized

The engine has not been initialized.

See Also

Reference

IVsaEngine Interface