ISupportLifecycleInitialize Method

Initializes the state of the object.

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
void Initialize()

Remarks

Typical implementation of Initialize should allow the object state to be initialized only once. Initialize should be called automatically from one or more key entry points of the object. For example, if the object is a Component and it implements the ISupportInitialize interface then Initialize should be called from the EndInit method so that the object gets initialized automatically when consumed through the IDE designer surface. In addition to this Initialize should also be called from key or mandatory methods of the object, like 'Start()' or 'Connect()', so that the object gets initialized even when not consumed through the IDE designer surface.

See Also