See Also: InvalidComObjectException Members
An InvalidComObjectException is thrown when an invalid COM object is used. This happens when the __ComObject type is used directly, without having a backing class factory. For more information, see Type.IsCOMObject.
InvalidComObjectException uses the HRESULT COR_E_INVALIDCOMOBJECT which has the value 0x80131527.