WebDebugContext Class

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

Represents the current debugging level for the application.

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

Syntax

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

Remarks

WebDebugContext represents the debug mode and has methods for handling debug warnings, errors, and informational trace messages. WebDebugContext may be derived, because the Trace, Warn, and Error methods are declared virtual.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Runtime.Diagnostics..::.DebugContext
    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

WebDebugContext Members

Microsoft.CommerceServer.Runtime.Diagnostics Namespace