語言

ProcessExitStatus.ExitCode 屬性

定義

取得程序的退出代碼。

public:
 property int ExitCode { int get(); };
public int ExitCode { get; }
member this.ExitCode : int
Public ReadOnly Property ExitCode As Integer

屬性值

流程的出口代碼。

備註

若程序在 Unix 上被訊號終止,退出碼為 128 + 訊號號碼。 用 Signal 來接收實際的訊號。

適用於