語言

ResourcePermissionBaseEntry 類別

定義

警告

Code Access Security is not supported or honored by the runtime.

定義程式碼存取安全權限集的最小單位。

public ref class ResourcePermissionBaseEntry
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public class ResourcePermissionBaseEntry
[System.Serializable]
public class ResourcePermissionBaseEntry
public class ResourcePermissionBaseEntry
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type ResourcePermissionBaseEntry = class
[<System.Serializable>]
type ResourcePermissionBaseEntry = class
type ResourcePermissionBaseEntry = class
Public Class ResourcePermissionBaseEntry
繼承
ResourcePermissionBaseEntry
屬性

備註

注意事項

.NET Framework 和 .NET 的所有版本中,代碼存取安全性(CAS)已被棄用。 最新版本的 .NET 不會接受 CAS 註釋,如果使用 CAS 相關 API,則會產生錯誤。 開發人員應尋求其他方法來完成安全任務。

建構函式

名稱 Description
ResourcePermissionBaseEntry()
已淘汰.

初始化 ResourcePermissionBaseEntry 類別的新執行個體。

ResourcePermissionBaseEntry(Int32, String[])
已淘汰.

初始化一個以指定權限存取與權限存取路徑的新類別實例 ResourcePermissionBaseEntry 。

屬性

名稱 Description
PermissionAccess
已淘汰.

獲得存取層列舉值的整數表示。

PermissionAccessPath
已淘汰.

會得到一組字串來識別你正在保護的資源。

方法

名稱 Description
Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設哈希函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()
已淘汰.

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於