TraceContextRecord::Message Property
Gets the user-defined trace message.
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 TraceContext::Write and 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.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.