Click here to Skip to main content
15,886,030 members
Articles / Programming Languages / C#

Stop Wrapping Exceptions in Exceptions: Use the .Data Collection on an Exception Instead

Rate me:
Please Sign up or sign in to vote.
4.82/5 (42 votes)
5 Feb 2010CPOL3 min read 55.7K   70  
Presenting the little known .data property on an exception as a way to collect and transfer information about the circumstances surrounding an exception
No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
I have been writing code and managing teams of developers for more years than I care to remember.

Comments and Discussions