語言

SecurityManager.ClassLoaderDepth 方法

定義

警告

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

傳回

始終 -1 在 Android 基礎實作中;不會進行類別堆疊搜尋。

屬性

備註

此會員已被棄用。 請改用 #checkPermission。

Java 文件 java.lang.SecurityManager.classLoaderDepth()。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於