Exceptions in C++/CLI
The articles in this section of the documentation explain exception handling in C++/CLI and how it differs from standard exception handling.
Related Articles
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 the finally 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. |
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho