Thread.CountStackFrames Method

Definition

Caution

deprecated

Throws UnsupportedOperationException.

[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

nothing

Attributes

Remarks

Throws UnsupportedOperationException.

This member is deprecated. This method was originally designed to count the number of stack frames but the results were never well-defined and it depended on thread-suspension. This method is subject to removal in a future version of Java SE.

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