次の方法で共有


BatchStartTaskInfo.ExitCode Property

Definition

The exit code of the program specified on the StartTask command line. This property is set only if the StartTask is in the completed state. In general, 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. However, if the Batch service terminates the StartTask (due to timeout, or user termination via the API) you may see an operating system-defined exit code.

public int? ExitCode { get; }
member this.ExitCode : Nullable<int>
Public ReadOnly Property ExitCode As Nullable(Of Integer)

Property Value

Applies to