C # in a Nutshell, Second Edition

InvalidComObjectException serializable

System.Runtime.InteropServices (mscorlib.dll) class

This exception signals that an invalid COM object has been used.

public class InvalidComObjectException : SystemException { // Public Constructors public InvalidComObjectException ( ); public InvalidComObjectException (string message ); public InvalidComObjectException (string message , Exception inner ); // Protected Constructors protected InvalidComObjectException (System.Runtime.Serialization.SerializationInfo info , System.Runtime.Serialization.StreamingContext context ); }

Hierarchy

System.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException InvalidComObjectException

Категории