Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SecurityException.RefusedSet Property


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

Namespace:   System.Security
Assembly:  mscorlib (in mscorlib.dll)

public string RefusedSet {
	[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.NoFlags | SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy)]

Property Value

Type: System.String

The XML representation of the refused permission set of the assembly.

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


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

.NET Framework
Available since 1.1
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft