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: