BizDataException Constructor (String, BizDataErrorCodes)

Initializes a new instance of the BizDataException class, with the specified error message and the BizDataErrorCodes that is the cause for this exception.

Namespace:  Microsoft.CommerceServer.Interop.Profiles
Assembly:  Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin (in Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin.dll)

Syntax

'Declaration
Public Sub New ( _
    ByRef message As String, _
    errCode As BizDataErrorCodes _
)
'Usage
Dim message As String
Dim errCode As BizDataErrorCodes

Dim instance As New BizDataException(message, _
    errCode)
public BizDataException(
    ref string message,
    BizDataErrorCodes errCode
)
public:
BizDataException(
    String^% message, 
    BizDataErrorCodes errCode
)
public function BizDataException(
    message : String, 
    errCode : BizDataErrorCodes
)

Parameters

Remarks

Exception raised when a Profile attribute cannot be committed, a data-source in cannot be created, a catalog cannot be retrieved, or an XML document cannot be loaded.

The errCode is the BizDataErrorCodes enumeration value that indicates the type of error that has occurred. The message contains a description of the error that has occurred.

Permissions

See Also

Reference

BizDataException Class

BizDataException Members

BizDataException Overload

Microsoft.CommerceServer.Interop.Profiles Namespace