Cape User ExceptionInitialize 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)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
protected abstract void Initialize()VB
Protected MustOverride Sub InitializeRemarks
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";
}