This document is archived and information here might be outdated.  Recommended version.


IAoInitialize Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IA > IAoInitialize Interface
ArcGIS Developer Help

IAoInitialize Interface

Provides access to members that initialize licensing for ArcGIS Desktop, Engine, and Server.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The IAoInitialize Interface is the starting point for developers to initialize each application with a suitable license(s) in order for it to run successfully on any machine it is deployed on to. License configuration must be undertaken at application start time, before any ArcObjects are accessed. Failure to do so will result in application errors. 

Members

Name Description
Method CheckInExtension Check in an extension.
Method CheckOutExtension Check out an extension.
Method Initialize This must be called before any other ArcObjects are created to initialize product Code. If called a second time during the life time of an executable with a new product code, it will return esriLicenseAlreadyInitialized.
Method InitializedProduct Retrieve's the product code at which the application has been initialized.
Method IsExtensionCheckedOut Is the Extension checked out.
Method IsExtensionCodeAvailable Check if the Product Code is available and then the Extension Code for that product.
Method IsProductCodeAvailable Check if the Product Code is available.
Method Shutdown Shutdown method. This should be the last call to ArcObjects in an application.

Classes that implement IAoInitialize

Classes Description
AoInitialize Class initializes ArcObject components runtime environment. This class must be the first ArcObject created.