SecurityException.RefusedSet Property

Definition

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

public string RefusedSet { get; set; }
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.

Security

SecurityPermission
for the ability to provide evidence and view and modify policy. Associated enumerations: ControlEvidence, ControlPolicy Security action: Demand

Applies to