CommerceException Constructor (String, COMException) (BCL)
Use this method to create a new instance of the CommerceException class with a specified error message and inner COM exception that is the cause for this exception.
Definition
[Visual Basic .NET]
Public Sub New( _ByValmsg As System.String, _
ByValcomException As System.Runtime.InteropServices.COMException _
)
[C#]
public CommerceException(System.Stringmsg,
System.Runtime.InteropServices.COMExceptioncomException);
Parameters
[Visual Basic .NET]
- msg
The error message. - comException
The COM exception.
[C#]
- msg
The error message. - comException
The COM exception.
Requirements
Namespace: Microsoft.CommerceServer.Runtime
Platforms: Windows 2000, Windows Server 2003
Assembly: Microsoft.CommerceServer.Shared.dll
Copyright © 2005 Microsoft Corporation.
All rights reserved.