Summary

In this hour, you learned how to use the .NET Framework's exception classes for handling errors that occur in the your applications. You also learned how to use the Trace and Debug classes to provide information while running an application to aid in debugging. Finally, you created a custom exception class and used it within a simple function. The features you learned about in this hour will give you an understanding of how the exception handling is done in managed C++ code and help you to write more robust applications.

Get Sams Teach Yourself Visual C++® .NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.