InventoryException Constructor (String)
Initializes a new instance of the CatalogException class with the specified error message.
Namespace: Microsoft.CommerceServer.Inventory
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Sub New ( _
message As String _
)
'Usage
Dim message As String
Dim instance As New InventoryException(message)
public InventoryException(
string message
)
public:
InventoryException(
String^ message
)
public function InventoryException(
message : String
)
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:
InventoryQuantityException - The exception that is thrown when a product does not meet the inventory quantity conditions.
InvalidProductCatalogMappingException - The exception that is thrown when a product does not meet the inventory mapping conditions.
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.