CapeUserExceptionInitialize Method

A virtual abstract function that is inherieted by derived classes to initializes the description, interface name and name fields of this exception.

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
protected abstract void Initialize()

Remarks

Derived classes should implement this class and set the values of the HResult, interface name and exception name.

virtual void Initialize() override { HResult = (int)CapeErrorInterfaceHR.ECapeUnknownHR; m_interfaceName = "ECapeUnknown"; m_name = "CUnknownException"; }

See Also