Поделиться через


CommerceDebugException Constructor (String, String)

Initializes a new instance of the CommerceDebugException class with the specified error category and error message.

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

Syntax

'Declaration
Public Sub New ( _
    category As String, _
    message As String _
)
'Usage
Dim category As String
Dim message As String

Dim instance As New CommerceDebugException(category, _
    message)
public CommerceDebugException(
    string category,
    string message
)
public:
CommerceDebugException(
    String^ category, 
    String^ message
)
public function CommerceDebugException(
    category : String, 
    message : String
)

Parameters

  • category
    Type: System..::.String
    The category string. The category is a string like "CommerceCatalog" or "CommerceOrders"
  • message
    Type: System..::.String
    The error message that explains the reason for the exception.

Remarks

A special exception raised by components of a Commerce Server application when they encounter an error during the Debug or Checked mode of operation.

Permissions

See Also

Reference

CommerceDebugException Class

CommerceDebugException Members

CommerceDebugException Overload

Microsoft.CommerceServer.Runtime Namespace