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
- progId
Type: System..::.String
The programmatic identifier.
- inner
Type: System.Runtime.InteropServices..::.COMException
The inner COM exception that caused this exception.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CommerceCreateObjectException Class
CommerceCreateObjectException Members