Share via


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 int? ExitCode { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="exitCode")>]
member this.ExitCode : Nullable<int> with get, set
Public Property ExitCode As Nullable(Of Integer)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

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