共用方式為


Process.IsAlive Property

Definition

Tests whether the subprocess represented by this Process is alive.

public virtual bool IsAlive { [Android.Runtime.Register("isAlive", "()Z", "GetIsAliveHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("isAlive", "()Z", "GetIsAliveHandler", ApiSince=26)>]
member this.IsAlive : bool

Property Value

true if the subprocess represented by this Process object has not yet terminated.

Attributes

Remarks

Tests whether the subprocess represented by this Process is alive.

Added in 1.8.

Java documentation for java.lang.Process.isAlive().

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.

Applies to