News
I am looing for a good error/exception logging scheme for C#. I am not looking for a lib exactly. I would not writing my own but I am kinda looking for a good starting point (currently lost in ...
When logging exceptions ... You can refer to my article on avoiding exceptions in C# and to Microsoft’s documentation for more information. Joydip Kanjilal is a Microsoft Most Valuable ...
However, you should log these exceptions also so you can examine them later and fix ... Expand that and you'll see Exception Management, then a link to the source code in C# and VB.NET, plus a link ...
catch(Exception ex) { log.Error(ex.Message); } Console.Read(); } } After you execute the above program, a text file named IDG.log will be created and the exception message specified with be logged ...
An exception during enumeration ends the enumerator, so you can't continue per se. What you need to do is filter out the bad results (possibly logging them somewhere). Consider: ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results