Microsoft.NET Question:
Download Questions PDF

How to redirect tracing to a file?

Microsoft.NET Interview Question
Microsoft.NET Interview Question

Answer:

TextWriterListener will redirect the tracing output to an instance of the TextWriter or to any object of stream class such as log file, network stram or Console.

Download Microsoft.NET Interview Questions And Answers PDF

Previous QuestionNext Question
How to spawn a thread?Is there built-in support for tracing/logging?