Initializes a new instance of the COMException class.
Initializes a new instance of the COMException class with default properties.
[Visual Basic] Overloads Public Sub New()
[C#] public COMException();
[C++] public: COMException();
[JScript] public function COMException();
Initializes a new instance of COMException with a specified message.
[Visual Basic] Overloads Public Sub New(String)
[C#] public COMException(String);
[C++] public: COMException(String*);
[JScript] public function COMException(String);
Initializes a new instance of COMException with a specified message and the exception that is the root cause of this exception.
[Visual Basic] Overloads Public Sub New(String, Exception)
[C#] public COMException(String, Exception);
[C++] public: COMException(String*, Exception);
[JScript] public function COMException(String, Exception);
Initializes a new instance of COMException with a specified message and error code.
[Visual Basic] Overloads Public Sub New(String, Integer)
[C#] public COMException(String, int);
[C++] public: COMException(String*, int);
[JScript] public function COMException(String, int);
COMException Class | COMException Members | System.Runtime.InteropServices Namespace