Android Guides | Samples

Java.Lang.Process.ExitValue Method

Returns the exit value of the native process represented by this object.

Syntax

[Android.Runtime.Register("exitValue", "()I", "GetExitValueHandler")]
public abstract Int32 ExitValue ()

Exceptions

TypeReason
IllegalThreadStateExceptionif this process has not terminated.

Remarks

Returns the exit value of the native process represented by this object. It is available only when the native process has terminated.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1