ArcObjects Library Reference (System)  

IAoInitialize.Shutdown Method

Shutdown method. This should be the last call to ArcObjects in an application.

[Visual Basic .NET]
Public Sub Shutdown ( _
)
[C#]
public void Shutdown (
);
[C++]
HRESULT Shutdown(
void
);

Product Availability

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

Description

Before an application is shut down the AOInitialize object must be shut down. This ensures that any ESRI libraries that have been used are unloaded in the correct order. Failure to do this may result in random crashes on exit due to the operating system unloading the libraries in the incorrect order.

See Also

IAoInitialize Interface

.NET Samples

Bind a geodatabase table to a .NET control (Code Files: LicenseInitializer) | Closest facility application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: LicenseInitializer) | Closest facility solver (Code Files: LicenseInitializer) | Extending the replication synchronization process (Code Files: RegisterExtension) | Find the closest intersection from a point (Code Files: FindClosestIntersection) | Location-allocation solver (Code Files: LicenseInitializer) | Origin-destination cost matrix solver (Code Files: LicenseInitializer) | Route application using the NAServer extension in ArcGIS Server via a GIS client (Code Files: LicenseInitializer) | Route application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: LicenseInitializer) | Route layer (Code Files: LicenseInitializer) | Service area application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: LicenseInitializer) | Service area solver (Code Files: LicenseInitializer) | Vehicle routing problem solver (Code Files: LicenseInitializer) |

.NET Related Topics

Accessing licensing and extensions for the geoprocessor | How to change label formats and marks on an axis using a line graph | How to create a 3D pie graph | How to create a box plot graph | How to create a function series graph | How to create a graph template | How to create a histogram graph | How to create a selection set using a scatter plot graph | How to create a vertical stack area graph | How to create graph series with different color types | How to create multiple vertical bar graphs | How to group data into separate lines on a line graph | How to sort data in the graph |