NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

InvalidComObjectException Class

Represents the exception that is thrown when an invalid COM object is used.

Object
   Exception
      SystemException
         InvalidComObjectException

[Visual Basic]
Public Class InvalidComObjectException
   Inherits SystemException
[C#]
public class InvalidComObjectException : SystemException
[C++]
public __gc class InvalidComObjectException : public
   SystemException
[JScript]
public class InvalidComObjectException extends SystemException

Remarks

An InvalidComObjectException is the exception that 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 infomation, see IsCOMObject.)

Requirements

Namespace: System.Runtime.InteropServices

Assembly: mscorlib.dll

See Also

InvalidComObjectException Members | System.Runtime.InteropServices Namespace