PolicyStatementAttribute 列舉

定義

定義程式碼群組安全性原則的特殊屬性 (Attribute) 旗標。

此列舉支援其成員值的位元組合。

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
繼承
PolicyStatementAttribute
屬性

欄位

All 3

已設定所有的屬性旗標。

Exclusive 1

獨佔程式碼群組旗標。 當程式碼群組擁有這個旗標集時,則只有與該程式碼群組相關的使用權限可以被授與屬於該程式碼群組的程式碼。 一般而言,符合特定程式碼片段的程式碼群組可以設為獨佔。

LevelFinal 2

這個旗標表示的原則陳述式將使解析作業不評估較低的原則層級,而有效地允許原則層級覆寫較低的層級。

Nothing 0

沒有設定旗標。

備註

原則語句上設定的屬性旗標會控制程式代碼群組與其他程式碼群組和其他原則層級的合併方式。

適用於