JobPreparationTaskExecutionInformation.ExitCode JobPreparationTaskExecutionInformation.ExitCode JobPreparationTaskExecutionInformation.ExitCode Property

Definition

Gets or sets the exit code of the program specified on the task command line.

[Newtonsoft.Json.JsonProperty(PropertyName="exitCode")]
public Nullable<int> ExitCode { get; set; }
member this.ExitCode : Nullable<int> with get, set
Public Property ExitCode As Nullable(Of Integer)
Property Value

Remarks

This parameter is returned only if the task is in the completed
state. The exit code for a process reflects the specific convention
implemented by the application developer for that process. If you
use the exit code value to make decisions in your code, be sure
that you know the exit code convention used by the application
process. Note that the exit code may also be generated by the
compute node operating system, such as when a process is forcibly
terminated.

Applies to