Share via


DebugContext Property

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

Gets the DebugContext object.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property DebugContext As DebugContext
'Usage
Dim instance As CatalogObjectBase
Dim value As DebugContext

value = instance.DebugContext
public virtual DebugContext DebugContext { get; }
public:
virtual property DebugContext^ DebugContext {
    DebugContext^ get ();
}
public function get DebugContext () : DebugContext

Property Value

Type: Microsoft.CommerceServer.Runtime.Diagnostics..::.DebugContext
The DebugContext object

Remarks

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.

Used to support the debugging of an application.

Permissions

See Also

Reference

CatalogObjectBase Class

CatalogObjectBase Members

Microsoft.CommerceServer.Catalog Namespace