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();
COMException inherits from Exception. This constructor sets the properties of the Exception object as follows:
Property | Value |
---|---|
InnerException | null |
Message | The empty string. |
COMException Class | COMException Members | System.Runtime.InteropServices Namespace | COMException Constructor Overload List