This documentation is archived and is not being maintained.
Visual Studio .NET 2003
Microsoft C++ supports two kinds of exception handling:
- C++ exception handling (try, throw, catch)
- Structured exception handling (__try/__except, __try/__finally)
Although structured exception handling works with C and C++ source files, it is not specifically designed for C++. For C++ programs, you should use C++ exception handling.
Note For more information on handling exceptions in managed applications (those using Managed Extensions for C++), see Handling Exceptions Using Managed Extensions for C++.