SecurityManager.ClassLoaderDepth Method

Definition

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("classLoaderDepth", "()I", "GetClassLoaderDepthHandler")]
[System.Obsolete("deprecated")]
protected virtual int ClassLoaderDepth();
[<Android.Runtime.Register("classLoaderDepth", "()I", "GetClassLoaderDepthHandler")>]
[<System.Obsolete("deprecated")>]
abstract member ClassLoaderDepth : unit -> int
override this.ClassLoaderDepth : unit -> int

Returns

The stack depth of the first class with a class loader, or -1 when none is found.

Attributes

Remarks

This member is deprecated. Use #checkPermission instead.

Java documentation for java.lang.SecurityManager.classLoaderDepth().

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