Share via


CatalogRebuildException Constructor (String, String)

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Initializes a new instance of the CatalogRebuildException class with the specified error message and parameters.

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

Syntax

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

Dim instance As New CatalogRebuildException(message, _
    catalogName)
public CatalogRebuildException(
    string message,
    string catalogName
)
public:
CatalogRebuildException(
    String^ message, 
    String^ catalogName
)
public function CatalogRebuildException(
    message : String, 
    catalogName : String
)

Parameters

  • message
    Type: System..::.String
    The error message that explains the reason for the exception.
  • catalogName
    Type: System..::.String
    The name of the catalog which could not be rebuilt.

Remarks

The exception that is thrown when a catalog cannot be rebuilt.

All catalog exceptions, including the CatalogRebuildException are derived from the CatalogException class. When a catalog cannot be rebuilt the CatalogRebuildException is thrown.

Permissions

See Also

Reference

CatalogRebuildException Class

CatalogRebuildException Members

CatalogRebuildException Overload

Microsoft.CommerceServer.Catalog Namespace