SecurityException.RefusedSet Property

Definition

Gets or sets the refused permission set of the assembly that caused the SecurityException.

public:
 property System::String ^ RefusedSet { System::String ^ get(); void set(System::String ^ value); };
public:
 property System::String ^ RefusedSet { System::String ^ get(); };
public string? RefusedSet { get; set; }
public string RefusedSet { get; set; }
public string RefusedSet { get; }
member this.RefusedSet : string with get, set
member this.RefusedSet : string
Public Property RefusedSet As String
Public ReadOnly Property RefusedSet As String

Property Value

The XML representation of the refused permission 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