JniRuntime.GetCurrentManagedThreadStackTrace(Int32, Boolean) 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.
Gets an implementation-supplied stack trace for the current managed thread.
public virtual string? GetCurrentManagedThreadStackTrace(int skipFrames = 0, bool fNeedFileInfo = false);
abstract member GetCurrentManagedThreadStackTrace : int * bool -> string
override this.GetCurrentManagedThreadStackTrace : int * bool -> string
Parameters
- skipFrames
- Int32
The number of initial frames to omit. The base implementation ignores this value.
- fNeedFileInfo
- Boolean
true to request file information; otherwise, false. The base implementation ignores this value.
Returns
The stack trace supplied by an override, or null from the base implementation.
Remarks
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.