Troubleshooting Exceptions: System.Exception

Represents errors that occur during application execution. This is the base class for all exceptions.

Associated Tips

  • Check the InnerException property for more information.
    To fix the error, you might need information about the inner (or previous) exception that led to the current exception. The current exception's InnerException property contains the inner exception. You can use the View Detail link in the Exception Assistant dialog box to access the InnerException property.

  • Temporarily turn off Just My Code debugging.
    The exception may have occurred in code that you did not write. To debug that code, you may have to turn off Just My Code debugging. For more information, see General, Debugging, Options Dialog Box.

See Also

Tasks

How to: Use the Exception Assistant

How to: Break When an Exception is Thrown

Reference

Exception

InnerException

General, Debugging, Options Dialog Box