Thread.CountStackFrames Method

Definition

Caution

deprecated

Counts the number of stack frames in this thread.

[Android.Runtime.Register("countStackFrames", "()I", "GetCountStackFramesHandler")]
[System.Obsolete("deprecated")]
public virtual int CountStackFrames ();
[<Android.Runtime.Register("countStackFrames", "()I", "GetCountStackFramesHandler")>]
[<System.Obsolete("deprecated")>]
abstract member CountStackFrames : unit -> int
override this.CountStackFrames : unit -> int

Returns

Int32

the number of stack frames in this thread.

Attributes

Remarks

Java documentation for java.lang.Thread.countStackFrames().

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