SecurityAttribute.Unrestricted 属性
定义
获取或设置一个值,该值指示是否声明了对受该特性保护的资源有完全(无限制的)权限。Gets or sets a value indicating whether full (unrestricted) permission to the resource protected by the attribute is declared.
public:
property bool Unrestricted { bool get(); void set(bool value); };
public bool Unrestricted { get; set; }
member this.Unrestricted : bool with get, set
Public Property Unrestricted As Boolean
属性值
如果声明了对受保护资源的完全权限,则为 true
;否则为 false
。true
if full permission to the protected resource is declared; otherwise, false
.
注解
所有类都将继承此属性,实现声明性安全的自定义属性。This property is inherited by all classes implementing custom attributes for declarative security.