Export (0) Print
Expand All

SecurityException Members

The exception that is thrown when a security error is detected.

The following tables list the members exposed by the SecurityException type.

(see also Protected Constructors )
  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework SecurityException Overloaded. Initializes a new instance of the SecurityException class.
Top

  Name Description
Protected method Supported by the XNA Framework SecurityException Overloaded. Initializes a new instance of the SecurityException class.
Top

(see also Protected Properties )
  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 Supported by the .NET Compact Framework Supported by the XNA Framework InnerException  Gets the Exception instance that caused the current exception.(inherited from Exception)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework 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 Supported by the .NET Compact Framework Supported by the XNA Framework StackTrace  Gets a string representation of the frames on the call stack at the time the current exception was thrown.(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

  Name Description
Protected property Supported by the .NET Compact Framework Supported by the XNA Framework HResult  Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.(inherited from Exception)
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetBaseException  When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (inherited from Exception)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetObjectData Overridden. Sets the SerializationInfo with information about the SecurityException.
Public method Supported by the .NET Compact Framework GetType  Gets the runtime type of the current instance. (inherited from Exception)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework ToString Overridden. Returns a representation of the current SecurityException.
Top

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2014 Microsoft