SecurityException Properties
.NET Framework 3.5
The SecurityException type exposes the following members.
| Name | Description | |
|---|---|---|
|
Action | Gets or sets the security action that caused the exception. |
|
Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.) |
|
Demanded | Gets or sets the demanded security permission, permission set, or permission set collection that failed. |
|
DenySetInstance | Gets or sets the denied security permission, permission set, or permission set collection that caused a demand to fail. |
|
FailedAssemblyInfo | Gets or sets information about the failed assembly. |
|
FirstPermissionThatFailed | Gets or sets the first permission in a permission set or permission set collection that failed the demand. |
|
GrantedSet | Gets or sets the granted permission set of the assembly that caused the SecurityException. |
|
HelpLink | Gets or sets a link to the help file associated with this exception. (Inherited from Exception.) |
|
HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.) |
|
InnerException | Gets the Exception instance that caused the current exception. (Inherited from Exception.) |
|
Message | Gets a message that describes the current exception. (Inherited from Exception.) |
|
Method | Gets or sets the information about the method associated with the exception. |
|
PermissionState | Gets or sets the state of the permission that threw the exception. |
|
PermissionType | Gets or sets the type of the permission that failed. |
|
PermitOnlySetInstance | Gets or sets the permission, permission set, or permission set collection that is part of the permit-only stack frame that caused a security check to fail. |
|
RefusedSet | Gets or sets the refused permission set of the assembly that caused the SecurityException. |
|
Source | Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.) |
|
StackTrace | Gets a string representation of the frames on the call stack at the time the current exception was thrown. (Inherited from Exception.) |
|
TargetSite | Gets the method that throws the current exception. (Inherited from Exception.) |
|
Url | Gets or sets the URL of the assembly that caused the exception. |
|
Zone | Gets or sets the zone of the assembly that caused the exception. |