TraceSection.TraceMode Property

Gets or sets the order in which ASP.NET trace information is displayed.

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

public TraceDisplayMode TraceMode { get; set; }
/** @property */
public TraceDisplayMode get_TraceMode ()

/** @property */
public void set_TraceMode (TraceDisplayMode value)

public function get TraceMode () : TraceDisplayMode

public function set TraceMode (value : TraceDisplayMode)

Not applicable.

Property Value

One of the TraceDisplayMode values, indicating the order in which trace information is displayed.

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;

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

Community Additions