Android Guides | Samples

Java.Lang.Process.WaitFor Method

Causes the calling thread to wait for the native process associated with this object to finish executing.

Syntax

[Android.Runtime.Register("waitFor", "()I", "GetWaitForHandler")]
public abstract Int32 WaitFor ()

Exceptions

TypeReason
InterruptedExceptionif the calling thread is interrupted.

Remarks

Causes the calling thread to wait for the native process associated with this object to finish executing.

[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