Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
System Namespace
Exception Class
 Exception Members

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Exception Members

Represents errors that occur during application execution.

The Exception type exposes the following members.

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkExceptionOverloaded. Initializes a new instance of the Exception class.
Top
  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEquals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFinalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetBaseException When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodGetObjectData When overridden in a derived class, sets the SerializationInfo with information about the exception.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetTypeOverloaded.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkMemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToString Creates and returns a string representation of the current exception. (Overrides Object..::.ToString()()().)
Top
  NameDescription
Public propertyData Gets a collection of key/value pairs that provide additional user-defined information about the exception.
Public propertyHelpLink Gets or sets a link to the help file associated with this exception.
Protected propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkHResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkInnerException Gets the Exception instance that caused the current exception.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkMessage Gets a message that describes the current exception.
Public propertySource Gets or sets the name of the application or the object that causes the error.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkStackTrace Gets a string representation of the frames on the call stack at the time the current exception was thrown.
Public propertyTargetSite Gets the method that throws the current exception.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker