Share via


CommerceCreateObjectException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the CommerceCreateObjectException class with the specified serialization information and streaming context.

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

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New CommerceCreateObjectException(info, context)
protected CommerceCreateObjectException(
    SerializationInfo info,
    StreamingContext context
)
protected:
CommerceCreateObjectException(
    SerializationInfo^ info, 
    StreamingContext context
)
protected function CommerceCreateObjectException(
    info : SerializationInfo, 
    context : StreamingContext
)

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