.NET Framework Class Library
Exception Members

Represents errors that occur during application execution.

The Exception type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkExceptionOverloaded. Initializes a new instance of the Exception class.
Top
Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFinalizeAllows 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 FrameworkGetBaseExceptionWhen 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 FrameworkGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetObjectDataWhen 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 FrameworkMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToStringCreates and returns a string representation of the current exception. (Overrides Object..::.ToString()()().)
Top
Properties

  NameDescription
Public propertyDataGets a collection of key/value pairs that provide additional user-defined information about the exception.
Public propertyHelpLinkGets or sets a link to the help file associated with this exception.
Protected propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkHResultGets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkInnerExceptionGets the Exception instance that caused the current exception.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkMessageGets a message that describes the current exception.
Public propertySourceGets or sets the name of the application or the object that causes the error.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkStackTraceGets a string representation of the frames on the call stack at the time the current exception was thrown.
Public propertyTargetSiteGets the method that throws the current exception.
Top
See Also

Reference

Tags :


Page view tracker