A constructor is called when a new instance is created. A destructor is called when the instance is destroyed.
Normally, a constructor sets the object’s fields to their initial value and allocates any other objects that are used by the component, and a destructor frees any objects that were allocated in the constructor.
However, if the component implements the IObjectControl interface, instance-specific initialization must be performed in the Activate method. See the IObjectControl interface reference page in the EAServer API Reference for more information.
Copyright © 2005. Sybase Inc. All rights reserved. |