Share via


InvalidProductCatalogMappingException Constructor (String)

Initializes a new instance of the ValidationException 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 InvalidProductCatalogMappingException(message)
public InvalidProductCatalogMappingException(
    string message
)
public:
InvalidProductCatalogMappingException(
    String^ message
)
public function InvalidProductCatalogMappingException(
    message : String
)

Parameters

  • message
    Type: System..::.String
    The error message that explains the reason for the 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

See Also

Reference

InvalidProductCatalogMappingException Class

InvalidProductCatalogMappingException Members

InvalidProductCatalogMappingException Overload

Microsoft.CommerceServer.Inventory Namespace