ExitMessage Property
Contains the last commands exit message.
Syntax
Default Value
""
Remarks
Use this property to access the exit message of the last command or shell session. This property normally gets assigned if the command or shell was closed due to an error.
This property is read-only and not available at design time.