COMCapeOpenExceptionWrapper Constructor

Creates a new instance of the COMCapeOpenExceptionWrapper class.

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
public COMCapeOpenExceptionWrapper(
	string message,
	Object exceptionObject,
	int HRESULT,
	Exception inner
)

Parameters

message  String
The error message text from the COM-based component.
exceptionObject  Object
The CAPE-OPEN object that raised the error.
HRESULT  Int32
The COM HResult value.
inner  Exception
An inner .Net-based exception obtained from the IErrorInfo object, if implemented or an accompanying .Net exception.

Remarks

Creates a .Net based exception wrapper for COM-based CAPE-OPEN componets to enable users to utilize .Net structured exception handling.

See Also