InvalidComObjectException Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes an instance of the InvalidComObjectException class.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodInvalidComObjectException()

Initializes an instance of the InvalidComObjectException with default properties.

System_CAPS_protmethodInvalidComObjectException(SerializationInfo, StreamingContext)

Initializes a new instance of the COMException class from serialization data.

System_CAPS_pubmethodInvalidComObjectException(String)

Initializes an instance of the InvalidComObjectException with a message.

System_CAPS_pubmethodInvalidComObjectException(String, Exception)

Initializes a new instance of the InvalidComObjectException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Return to top
Show: