Microsoft didn't try to guess what you might want to do with the trace output. Maybe you want to send the last 100 trace lines in an email when something goes wrong. With the TraceListener base class, you can do anything you like. And change the listener without recompiling your code. Hans Passant.
Marked as answer byRong-Chun ZhangWednesday, January 28, 2009 3:28 AM
Microsoft didn't try to guess what you might want to do with the trace output. Maybe you want to send the last 100 trace lines in an email when something goes wrong. With the TraceListener base class, you can do anything you like. And change the listener without recompiling your code. Hans Passant.
Marked as answer byRong-Chun ZhangWednesday, January 28, 2009 3:28 AM