Share via


CatalogXmlValidationException Constructor (String)

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

Parameters

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

Remarks

The exception that is thrown when validation of an XML file fails.

All catalog exceptions, including the CatalogXmlValidationException are derived from the CatalogException class. When an XML validation fails the CatalogXmlValidationException is thrown.

Permissions

See Also

Reference

CatalogXmlValidationException Class

CatalogXmlValidationException Members

CatalogXmlValidationException Overload

Microsoft.CommerceServer.Catalog Namespace