Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Initializes a new instance of the WebDebugContext class with the specified DebugMode.
Namespace: Microsoft.CommerceServer.Runtime.Diagnostics
Assembly: Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub New ( _
debugMode As DebugMode _
)
'Usage
Dim debugMode As DebugMode
Dim instance As New WebDebugContext(debugMode)
public WebDebugContext(
DebugMode debugMode
)
public:
WebDebugContext(
DebugMode debugMode
)
public function WebDebugContext(
debugMode : DebugMode
)
Parameters
- debugMode
Type: Microsoft.CommerceServer.Runtime.Diagnostics..::.DebugMode
A DebugMode enumeration value.
Remarks
Creates a new instance of the WebDebugContext class with the specified DebugMode.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.