DebugMode Property

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

Gets or sets the current debug mode.

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

Syntax

'Declaration
Public Overridable Property DebugMode As DebugMode
'Usage
Dim instance As DebugContext
Dim value As DebugMode

value = instance.DebugMode

instance.DebugMode = value
public virtual DebugMode DebugMode { get; set; }
public:
virtual property DebugMode DebugMode {
    DebugMode get ();
    void set (DebugMode value);
}
public function get DebugMode () : DebugMode
public function set DebugMode (value : DebugMode)

Property Value

Type: Microsoft.CommerceServer.Runtime.Diagnostics..::.DebugMode
A DebugMode that represents the current debug mode.

Remarks

Stores the DebugMode for the DebugContext.

The DebugMode enumeration value may be:

  • Checked - indicates that special time or resource intensive checks should be made.

  • Debug - special checks are made, but not those that are resource or time intensive.

  • Production - no special checks are made.

Permissions

See Also

Reference

DebugContext Class

DebugContext Members

Microsoft.CommerceServer.Runtime.Diagnostics Namespace