Export (0) Print
Expand All

SecurityException Properties

The properties of the SecurityException class are listed here. For a complete list of SecurityException class members, see the SecurityException Members topic.

Public Properties

public propertyGrantedSet Gets the granted permission set of the assembly, which caused the SecurityException.
public propertyHelpLink (inherited from Exception) Gets or sets a link to the help file associated with this exception.
public propertyInnerException (inherited from Exception)

Supported by the .NET Compact Framework.

Gets the Exception instance that caused the current exception.
public propertyMessage (inherited from Exception)

Supported by the .NET Compact Framework.

Gets a message that describes the current exception.
public propertyPermissionState Gets the state of the permission that threw the exception.
public propertyPermissionType Gets the type of the permission that threw the exception.
public propertyRefusedSet Gets the refused permission set of the assembly, which caused the SecurityException.
public propertySource (inherited from Exception) Gets or sets the name of the application or the object that causes the error.
public propertyStackTrace (inherited from Exception) Gets a string representation of the frames on the call stack at the time the current exception was thrown.
public propertyTargetSite (inherited from Exception) Gets the method that throws the current exception.

Protected Properties

protected propertyHResult (inherited from Exception) Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.

See Also

SecurityException Class | System.Security Namespace

Show:
© 2014 Microsoft