SecurityException.GrantedSet Property

Definition

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

Property Value

The XML representation of the granted set of the assembly.

Remarks

This property might not contain relevant data in security exceptions other than exceptions involving checks for the AllowPartiallyTrustedCallersAttribute.

Applies to