DebugContext Class

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)

[SerializableAttribute]
public abstract class DebugContext

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:

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