mscorlib(4.0.0.0) API with additions
InvalidComObjectException.cs
2 
4 {
7  [ComVisible(true)]
8  [__DynamicallyInvokable]
10  {
12  [__DynamicallyInvokable]
14  : base(Environment.GetResourceString("Arg_InvalidComObjectException"))
15  {
16  SetErrorCode(-2146233049);
17  }
18 
21  [__DynamicallyInvokable]
22  public InvalidComObjectException(string message)
23  : base(message)
24  {
25  SetErrorCode(-2146233049);
26  }
27 
31  [__DynamicallyInvokable]
32  public InvalidComObjectException(string message, Exception inner)
33  : base(message, inner)
34  {
35  SetErrorCode(-2146233049);
36  }
37 
44  : base(info, context)
45  {
46  }
47  }
48 }
Serves as the base class for system exceptions namespace.
Definition: __Canon.cs:3
Describes the source and destination of a given serialized stream, and provides an additional caller-...
The exception thrown when an invalid COM object is used.
Provides information about, and means to manipulate, the current environment and platform....
Definition: Environment.cs:21
InvalidComObjectException(SerializationInfo info, StreamingContext context)
Initializes a new instance of the COMException class from serialization data.
InvalidComObjectException(string message)
Initializes an instance of the InvalidComObjectException with a message.
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
Definition: Exception.cs:22
InvalidComObjectException(string message, Exception inner)
Initializes a new instance of the T:System.Runtime.InteropServices.InvalidComObjectException class wi...
Specifies that the class can be serialized.
InvalidComObjectException()
Initializes an instance of the InvalidComObjectException with default properties.