Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

COMException Constructor

 

Initializes a new instance of the COMException class.

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

NameDescription
System_CAPS_pubmethodCOMException()

Initializes a new instance of the COMException class with default values.

System_CAPS_protmethodCOMException(SerializationInfo^, StreamingContext)

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

System_CAPS_pubmethodCOMException(String^)

Initializes a new instance of the COMException class with a specified message.

System_CAPS_pubmethodCOMException(String^, Exception^)

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

System_CAPS_pubmethodCOMException(String^, Int32)

Initializes a new instance of the COMException class with a specified message and error code.

Return to top
Show:
© 2017 Microsoft