PolicyStatementAttribute 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
定義程式代碼群組上安全策略的特殊屬性旗標。
此列舉支援其成員值的位元組合。
public enum class PolicyStatementAttribute
[System.Flags]
public enum PolicyStatementAttribute
[System.Flags]
[System.Serializable]
public enum PolicyStatementAttribute
[System.Flags]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum PolicyStatementAttribute
[<System.Flags>]
type PolicyStatementAttribute =
[<System.Flags>]
[<System.Serializable>]
type PolicyStatementAttribute =
[<System.Flags>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type PolicyStatementAttribute =
Public Enum PolicyStatementAttribute
- 繼承
- 屬性
欄位
| 名稱 | 值 | Description |
|---|---|---|
| Nothing | 0 | 沒有設置任何旗幟。 |
| Exclusive | 1 | 專屬代碼群組旗標。 當一個代碼群組設定了這個標誌時,只有該代碼群組所屬的程式碼會被賦予與該代碼群組相關的權限。 最多只能設定一個與特定程式碼相符的程式碼群組為排他。 |
| LevelFinal | 2 | 代表政策語句的旗標,使較低的政策層級不作為解析操作的一部分被評估,實際上允許政策層級覆蓋較低層級。 |
| All | 3 | 所有屬性標記都已設定。 |
備註
在政策語句中設定屬性旗標,可控制程式碼群組如何與其他程式碼群組及其他政策層級合併。