This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
The articles in this section of the documentation explain exception handling in C++/CLI and how it differs from standard exception handling.
Title | Description |
---|---|
Basic Concepts in Using Managed Exceptions | Discusses exception handling in managed applications. |
Differences in Exception Handling Behavior Under /CLR | Discusses the differences between standard exception handling and exception handling in C++/CLI. |
finally | Describes thefinally block that's used to clean up resources that are left after an exception occurs. |
How to: Catch Exceptions in Native Code Thrown from MSIL | Demonstrates how to use__try and__except to catch exceptions in native code that are thrown from MSIL. |
How to: Define and Install a Global Exception Handler | Demonstrates how to capture unhandled exceptions. |
.NET Programming with C++/CLI (Visual C++) | The top-level article for .NET programming in the Visual C++ documentation. |
Was this page helpful?
Was this page helpful?