InvalidProductCatalogMappingException Constructor (String, Exception)
Initializes a new instance of the ValidationException class with a 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 InvalidProductCatalogMappingException(message, _
inner)
public InvalidProductCatalogMappingException(
string message,
Exception inner
)
public:
InvalidProductCatalogMappingException(
String^ message,
Exception^ inner
)
public function InvalidProductCatalogMappingException(
message : String,
inner : Exception
)
Parameters
- message
Type: System..::.String
The error message that explains the reason for the exception.
- inner
Type: System..::.Exception
The exception that caused the current exception.
Remarks
The exception that is thrown when a product does not meet the inventory mapping conditions.
This class, along with InventoryQuantityException class derive from the InventoryException class.
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
InvalidProductCatalogMappingException Class
InvalidProductCatalogMappingException Members