Share via


CommerceCreateObjectException Constructor (String, COMException)

Initializes a new instance of the CommerceCreateObjectException class with the specified error message and inner COM exception.

Namespace:  Microsoft.CommerceServer.Runtime
Assembly:  Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)

Syntax

'Declaration
Public Sub New ( _
    progId As String, _
    inner As COMException _
)
'Usage
Dim progId As String
Dim inner As COMException

Dim instance As New CommerceCreateObjectException(progId, _
    inner)
public CommerceCreateObjectException(
    string progId,
    COMException inner
)
public:
CommerceCreateObjectException(
    String^ progId, 
    COMException^ inner
)
public function CommerceCreateObjectException(
    progId : String, 
    inner : COMException
)

Parameters

Remarks

Use this method to create a new instance of the CommerceCreateObjectException class, the exception that is raised when a COM object could not be created.

Permissions

See Also

Reference

CommerceCreateObjectException Class

CommerceCreateObjectException Members

CommerceCreateObjectException Overload

Microsoft.CommerceServer.Runtime Namespace