Thread.CountStackFrames Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
the number of stack frames in this thread.
- Attributes
Remarks
Counts the number of stack frames in this thread. The thread must be suspended.
This member is deprecated. The definition of this call depends on #suspend
, which is deprecated. Further, the results of this call were never well-defined. 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.