共用方式為


ActivityManager.RunningServiceInfo.CrashCount Property

Definition

Number of times the service's process has crashed while the service is running.

[Android.Runtime.Register("crashCount")]
public int CrashCount { get; set; }
[<Android.Runtime.Register("crashCount")>]
member this.CrashCount : int with get, set

Property Value

Attributes

Remarks

Number of times the service's process has crashed while the service is running.

Java documentation for android.app.ActivityManager.RunningServiceInfo.crashCount.

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