TraceEnabled Property
TOC
Collapse the table of content
Expand the table of content

Page.TraceEnabled Property

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Sets a value indicating whether tracing is enabled for the Page object.

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

[BrowsableAttribute(false)]
public bool TraceEnabled { get; set; }

Property Value

Type: System.Boolean

true if tracing is enabled for the page; otherwise, false. The default is false.

In most circumstances, do not set this property in code. Set the Trace attribute to true in the directive in the .aspx file. When the page is requested, the dynamically generated class sets the property.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft