Process.ExitValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the exit value for the subprocess.
[Android.Runtime.Register("exitValue", "()I", "GetExitValueHandler")]
public abstract int ExitValue ();
[<Android.Runtime.Register("exitValue", "()I", "GetExitValueHandler")>]
abstract member ExitValue : unit -> int
Returns
the exit value of the subprocess represented by this
Process
object. By convention, the value
0
indicates normal termination.
- Attributes
Exceptions
if this process has not terminated.
Remarks
Returns the exit value for the subprocess.
Java documentation for java.lang.Process.exitValue()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.