mscorlib(4.0.0.0) API with additions
InvalidComObjectException.cs
1
using
System
.
Runtime
.
Serialization
;
2
3
namespace
System.Runtime.InteropServices
4
{
6
[
Serializable
]
7
[ComVisible(
true
)]
8
[__DynamicallyInvokable]
9
public
class
InvalidComObjectException
:
SystemException
10
{
12
[__DynamicallyInvokable]
13
public
InvalidComObjectException
()
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
43
protected
InvalidComObjectException
(
SerializationInfo
info,
StreamingContext
context)
44
: base(info, context)
45
{
46
}
47
}
48
}
System.SystemException
Serves as the base class for system exceptions namespace.
Definition:
SystemException.cs:9
System.Runtime.InteropServices
Definition:
_Activator.cs:1
System.Runtime
Definition:
AssemblyTargetedPatchBandAttribute.cs:1
System
Definition:
__Canon.cs:3
System.Runtime.Serialization.StreamingContext
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Definition:
StreamingContext.cs:9
System.Runtime.InteropServices.InvalidComObjectException
The exception thrown when an invalid COM object is used.
Definition:
InvalidComObjectException.cs:9
System.Environment
Provides information about, and means to manipulate, the current environment and platform....
Definition:
Environment.cs:21
System.Runtime.InteropServices.InvalidComObjectException.InvalidComObjectException
InvalidComObjectException(SerializationInfo info, StreamingContext context)
Initializes a new instance of the COMException class from serialization data.
Definition:
InvalidComObjectException.cs:43
System.Runtime.InteropServices.InvalidComObjectException.InvalidComObjectException
InvalidComObjectException(string message)
Initializes an instance of the InvalidComObjectException with a message.
Definition:
InvalidComObjectException.cs:22
System.Runtime.Serialization
Definition:
DeserializationEventHandler.cs:1
System.Runtime.Serialization.SerializationInfo
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
Definition:
SerializationInfo.cs:12
System.Exception
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
Definition:
Exception.cs:22
System.Runtime.InteropServices.InvalidComObjectException.InvalidComObjectException
InvalidComObjectException(string message, Exception inner)
Initializes a new instance of the T:System.Runtime.InteropServices.InvalidComObjectException class wi...
Definition:
InvalidComObjectException.cs:32
System.Reflection.TypeAttributes.Serializable
Specifies that the class can be serialized.
System.Runtime.InteropServices.InvalidComObjectException.InvalidComObjectException
InvalidComObjectException()
Initializes an instance of the InvalidComObjectException with default properties.
Definition:
InvalidComObjectException.cs:13
All cs
System.Runtime.InteropServices
InvalidComObjectException.cs
Generated by
1.8.15