DebugContext Class

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

An abstract base class to support debugging for the application.

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

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class DebugContext
'Usage
Dim instance As DebugContext
[SerializableAttribute]
public abstract class DebugContext
[SerializableAttribute]
public ref class DebugContext abstract
public abstract class DebugContext

Remarks

DebugContext represents the current debugging level for the application. DebugContext sets the debug mode and contains methods for handling debug warnings, errors, and informational trace messages. The Trace, Warn, and Error methods are virtual so this method may be derived.

The following classes derive from DebugContext:

Inheritance Hierarchy

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

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

DebugContext Members

Microsoft.CommerceServer.Runtime.Diagnostics Namespace