Share via


ConsoleDebugContext Class

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Represents the current debugging level for a non Web based application.

Namespace:  Microsoft.CommerceServer.Runtime.Diagnostics
Assembly:  Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class ConsoleDebugContext _
    Inherits DebugContext
'Usage
Dim instance As ConsoleDebugContext
[SerializableAttribute]
public class ConsoleDebugContext : DebugContext
[SerializableAttribute]
public ref class ConsoleDebugContext : public DebugContext
public class ConsoleDebugContext extends DebugContext

Remarks

ConsoleDebugContext has methods for handling debug warnings, errors, and informational trace messages. This class may be derived, as the Trace, Warn, and Error methods are declared virtual.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Runtime.Diagnostics..::.DebugContext
    Microsoft.CommerceServer.Runtime.Diagnostics..::.ConsoleDebugContext

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ConsoleDebugContext Members

Microsoft.CommerceServer.Runtime.Diagnostics Namespace