TraceSection.TraceMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the order in which ASP.NET trace information is displayed.
public:
property System::Web::Configuration::TraceDisplayMode TraceMode { System::Web::Configuration::TraceDisplayMode get(); void set(System::Web::Configuration::TraceDisplayMode value); };
[System.Configuration.ConfigurationProperty("traceMode", DefaultValue=System.Web.Configuration.TraceDisplayMode.SortByTime)]
public System.Web.Configuration.TraceDisplayMode TraceMode { get; set; }
[<System.Configuration.ConfigurationProperty("traceMode", DefaultValue=System.Web.Configuration.TraceDisplayMode.SortByTime)>]
member this.TraceMode : System.Web.Configuration.TraceDisplayMode with get, set
Public Property TraceMode As TraceDisplayMode
Property Value
One of the TraceDisplayMode values, indicating the order in which trace information is displayed.
- Attributes
Examples
The following code example shows how to use the TraceMode property. This code example is part of a larger example provided for the TraceSection class.
// Get the current Mode property value.
// TraceDisplayMode modeValue = traceSection.TraceMode;
// Set the Mode property to TraceDisplayMode.SortyByTime.
// traceSection.Mode = TraceDisplayMode.SortByTime;
' Get the current Mode property value.
'Dim modeValue As TraceDisplayMode = traceSection.TraceMode
' Set the Mode property to TraceDisplayMode.SortByTime.
'traceSection.Mode = TraceDisplayMode.SortByTime
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.