Initializes an instance of the InvalidComObjectException with a message.
[Visual Basic] Overloads Public Sub New( _ ByVal message As String _ ) [C#] public InvalidComObjectException( string message ); [C++] public: InvalidComObjectException( String* message ); [JScript] public function InvalidComObjectException( message : String );
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 message string. |
InvalidComObjectException Class | InvalidComObjectException Members | System.Runtime.InteropServices Namespace | InvalidComObjectException Constructor Overload List