Jaa


InvalidObjectException Constructor (String)

Initializes a new instance of the InvalidObjectException class with the specified error message.

Namespace:  Microsoft.CommerceServer.Catalog
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 InvalidObjectException(message)
public InvalidObjectException(
    string message
)
public:
InvalidObjectException(
    String^ message
)
public function InvalidObjectException(
    message : String
)

Parameters

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

Remarks

All catalog exceptions, including the InvalidObjectException are derived from the CatalogException class. (The ValidationException is derived from the CatalogException class.) The InvalidObjectException is thrown because you have an invalid object.

Permissions

See Also

Reference

InvalidObjectException Class

InvalidObjectException Members

InvalidObjectException Overload

Microsoft.CommerceServer.Catalog Namespace