NoOperationDebugContext Constructor (DebugMode)
Initializes a new instance of the NoOperationDebugContext class with the specified debug mode.
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 NoOperationDebugContext(debugMode)
public NoOperationDebugContext(
DebugMode debugMode
)
public:
NoOperationDebugContext(
DebugMode debugMode
)
public function NoOperationDebugContext(
debugMode : DebugMode
)
Parameters
- debugMode
Type: Microsoft.CommerceServer.Runtime.Diagnostics..::.DebugMode
The DebugMode to create the new instance.
Remarks
Creates a new instance of the NoOperationDebugContext class with the specified debug mode.
The DebugMode shall be:
Checked
Debug
Production
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.
See Also
Reference
NoOperationDebugContext Members