Interface IClassExtension
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to members that initialize and shutdown the class extension.
[Guid("1C014E3D-A1E1-11D3-9F97-00C04F6BDF0C")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IClassExtension
Methods
Init(IClassHelper, IPropertySet)
Initializes the extension, passing in a reference to its class helper.
void Init(IClassHelper ClassHelper, IPropertySet ExtensionProperties)
Parameters
ClassHelperIClassHelperExtensionPropertiesIPropertySet
Remarks
If a reference to the class is required by other class extension members, the class helper should be stored in a member variable. Storing an object or feature class directly within a class extension is strongly discouraged.
Shutdown()
Informs the extension that its class helper is going away.
void Shutdown()
Remarks
Shutdown is called when the extension's class is cleared from the client's memory, or when the extension is removed from the class. Note that if a class is deleted from a geodatabase, it may remain in memory, so this should not be relied upon for behavior that should be triggered by a class' deletion.