System.Web
2.0.0.0
System.Configuration.ConfigurationSection
The class provides a way to programmatically access and modify the content of the configuration file trace section. The trace section configures the ASP.NET trace functionality and controls how trace results are gathered, stored, and displayed.
When tracing is enabled, each page request generates trace messages that can be appended to the page output or stored in an application trace log. You can use the ASP.NET trace viewer (Trace.axd) to view the contents of the trace log.
The trace element is allowed in the system.web section of the configuration hierarchy in the Machine.config file and the Web.config files. It is not allowed in configuration files of Web subdirectories.
Configures the ASP.NET trace service. This class cannot be inherited.
Constructor
To be added.
Initializes a new instance of the class using default settings.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("enabled", DefaultValue="False")
System.Boolean
To be added.
To be added.
Gets or sets a value indicating whether the ASP.NET trace service is enabled.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("localOnly", DefaultValue="True")
System.Boolean
To be added.
To be added.
Gets or sets a value indicating whether the ASP.NET trace viewer (Trace.axd) is available only to requests from the host Web server.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("mostRecent", DefaultValue="False")
System.Boolean
To be added.
Requests are stored in the trace log in the order they arrive, up to the number of requests specified in the property. When the request limit is reached and is true, older requests are automatically discarded and new requests continue to be added to the log. When the request limit is reached and is false, new requests are discarded until earlier requests are removed from the log or the request limit is increased.
Gets or sets a value indicating whether the most recent requests are always stored on the server.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("pageOutput", DefaultValue="False")
System.Boolean
To be added.
To be added.
Gets or sets a value indicating whether the ASP.NET trace information is appended to the output of each page.
2.0.0.0
Property
System.Configuration.ConfigurationPropertyCollection
To be added.
To be added.
To be added.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("requestLimit", DefaultValue="10")
System.Configuration.IntegerValidator(MinValue=0, MaxValue=2147483647)
System.Int32
To be added.
The maximum request limit is 10,000. If a value greater than 10,000 is specified, it is silently rounded down to 10,000 by ASP.NET.
The property gets or sets a value that determines whether the requests stored on the server are the most recent requests or the first requests to arrive.
Note When the number of requests exceeds the limit imposed by this setting and is false, no more requests are stored in the trace log. If is true, the most recent requests are stored up to the limit imposed by this setting and older requests are discarded.
Gets or sets a value indicating the maximum number of requests to the application for which ASP.NET stores trace information.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("traceMode", DefaultValue="SortByTime")
System.Web.Configuration.TraceDisplayMode
To be added.
To be added.
Gets or sets the order in which ASP.NET trace information is displayed.
2.0.0.0
Property
System.Configuration.ConfigurationProperty("writeToDiagnosticsTrace", DefaultValue="False")
System.Boolean
To be added.
To be added.
Gets or sets a value indicating whether the messages emitted through the page trace are forwarded to an instance of the class.
2.0.0.0