SecurityException.GrantedSet 属性
定义
获取或设置导致 SecurityException 的程序集的授予的权限集。Gets or sets the granted permission set of the assembly that caused the SecurityException.
public:
property System::String ^ GrantedSet { System::String ^ get(); void set(System::String ^ value); };
public:
property System::String ^ GrantedSet { System::String ^ get(); };
public string? GrantedSet { get; set; }
public string GrantedSet { get; set; }
public string GrantedSet { get; }
member this.GrantedSet : string with get, set
member this.GrantedSet : string
Public Property GrantedSet As String
Public ReadOnly Property GrantedSet As String
属性值
程序集的授予权限集的 XML 表示形式。The XML representation of the granted set of the assembly.
注解
除了涉及检查的异常以外,此属性在安全异常中可能不包含相关数据 AllowPartiallyTrustedCallersAttribute 。This property might not contain relevant data in security exceptions other than exceptions involving checks for the AllowPartiallyTrustedCallersAttribute.