Export (0) Print
Expand All

UserControl.Trace Property

Gets the TraceContext object for the current Web request.

Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)

public TraceContext Trace { get; }
/** @property */
public TraceContext get_Trace ()

public function get Trace () : TraceContext

Not applicable.

Property Value

The data from the TraceContext object for the current Web request.

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" %>

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft