TraceContextRecord.Message Property
.NET Framework 3.0
Gets the user-defined trace message.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
TraceContextRecord Members
System.Web Namespace
Assembly: System.Web (in system.web.dll)
The message can be any string, and is used to write detailed tracing information. It corresponds to the message parameter that is passed to the System.Web.TraceContext.Write and System.Web.TraceContext.Warn methods. The information can be run-time values, messages to orient you and guide you through a program's execution, or other diagnostic data.
The following code example demonstrates how to access the Message property of a TraceContextRecord, and print it to the Response stream.
Reference
TraceContextRecord ClassTraceContextRecord Members
System.Web Namespace
Other Resources
ASP.NET TracingCommunity Additions
ADD
Show: