WebDebugContext Constructor
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.