Export (0) Print
Expand All

SecurityException Properties

The SecurityException type exposes the following members.

  Name Description
Public property Action Gets or sets the security action that caused the exception.
Public property Data Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.)
Public property Demanded Gets or sets the demanded security permission, permission set, or permission set collection that failed.
Public property DenySetInstance Gets or sets the denied security permission, permission set, or permission set collection that caused a demand to fail.
Public property FailedAssemblyInfo Gets or sets information about the failed assembly.
Public property FirstPermissionThatFailed Gets or sets the first permission in a permission set or permission set collection that failed the demand.
Public property GrantedSet Gets or sets the granted permission set of the assembly that caused the SecurityException.
Public property HelpLink Gets or sets a link to the help file associated with this exception. (Inherited from Exception.)
Public property HResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.)
Public property InnerException Gets the Exception instance that caused the current exception. (Inherited from Exception.)
Public property Message Gets a message that describes the current exception. (Inherited from Exception.)
Public property Method Gets or sets the information about the method associated with the exception.
Public property PermissionState Gets or sets the state of the permission that threw the exception.
Public property PermissionType Gets or sets the type of the permission that failed.
Public property 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.
Public property RefusedSet Gets or sets the refused permission set of the assembly that caused the SecurityException.
Public property Source Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.)
Public property StackTrace Gets a string representation of the immediate frames on the call stack. (Inherited from Exception.)
Public property TargetSite Gets the method that throws the current exception. (Inherited from Exception.)
Public property Url Gets or sets the URL of the assembly that caused the exception.
Public property Zone Gets or sets the zone of the assembly that caused the exception.
Top
Show:
© 2014 Microsoft