Home   |   QuickStart Welcome   |   ASP.NET   |   Web Services   |   How Do I...?   
  |   I want my samples in...      

ASP.NET 2.0 Quickstart Tutorials

Accessing Trace Messages in Code New in 2.0

Page writers can now consume trace messages in code, allowing them to do custom processing, presentation, and redirection of trace output. In the sample below, the page uses the TraceContext.TraceFinished event to obtain a collection of trace records, and display them manually:

VB Consuming Trace Records
Run Sample View Source