Initializes an instance of the InvalidComObjectException with default properties.
[Visual Basic] Overloads Public Sub New() [C#] public InvalidComObjectException(); [C++] public: InvalidComObjectException(); [JScript] public function InvalidComObjectException();
InvalidComObjectException inherits from the Exception class. This constructor sets the properties of the exception object as follows:
Property Type | Description |
---|---|
InnerException | a null reference (in Visual Basic Nothing) |
Message | The empty string. |
InvalidComObjectException Class | InvalidComObjectException Members | System.Runtime.InteropServices Namespace | InvalidComObjectException Constructor Overload List