Partager via


InventoryException Constructor (String, Exception)

Initializes a new instance of the CatalogException class with the specified error message and a reference to the inner exception that is the cause of this exception.

Namespace:  Microsoft.CommerceServer.Inventory
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

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

Dim instance As New InventoryException(message, _
    inner)
public InventoryException(
    string message,
    Exception inner
)
public:
InventoryException(
    String^ message, 
    Exception^ inner
)
public function InventoryException(
    message : String, 
    inner : Exception
)

Parameters

  • message
    Type: System..::.String
    The error message that explains the reason for the exception.

Remarks

The following inventory system exceptions are derived from this class:

Permissions

See Also

Reference

InventoryException Class

InventoryException Members

InventoryException Overload

Microsoft.CommerceServer.Inventory Namespace