This documentation is archived and is not being maintained.
UserControl.Trace Property
.NET Framework 1.1
Gets the TraceContext object for the current Web request.
[Visual Basic] Public ReadOnly Property Trace As TraceContext [C#] public TraceContext Trace {get;} [C++] public: __property TraceContext* get_Trace(); [JScript] public function get Trace() : TraceContext;
Property Value
The data from the TraceContext object for the current Web request.
Remarks
Tracing tracks and presents the execution details about a Web request. For trace data to be visible in a rendered page, you must enable tracing for that page.
By default, page tracing is disabled. To enable tracing for a page, use the @ Page directive as follows: <%@ Page trace="true" %>
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
UserControl Class | UserControl Members | System.Web.UI Namespace | TraceContext | Trace | @ Page
Show: