Export (0) Print
Expand All

SecurityException.FirstPermissionThatFailed Property

Gets or sets the first permission in a permission set or permission set collection that failed the demand.

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

public IPermission FirstPermissionThatFailed { get; set; }

Property Value

Type: System.Security.IPermission
An IPermission object representing the first permission that failed.

If the demanded object is a permission set or permission set collection, the FirstPermissionThatFailed represents only the first permission that caused the exception. Additional permissions in the set or collection can also cause a demand failure.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft