JAMS Developer Guide
AbortOnError Property


MVPSI.JAMS.Activities Namespace > CMDScript Class : AbortOnError Property
Should the activity abort if the script throws an unhandled exception or returns a non-zero exit code?.
Syntax
'Declaration
 
<System.ComponentModel.DescriptionAttribute("Specifies that the activity should abort if the script fails.")>
<System.ComponentModel.CategoryAttribute("Execute")>
Public Property AbortOnError As System.Boolean
'Usage
 
Dim instance As CMDScript
Dim value As System.Boolean
 
instance.AbortOnError = value
 
value = instance.AbortOnError
[System.ComponentModel.Description("Specifies that the activity should abort if the script fails.")]
[System.ComponentModel.Category("Execute")]
public System.bool AbortOnError {get; set;}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CMDScript Class
CMDScript Members