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


IAoInitialize.Shutdown Method (ArcObjects .NET 10.4 SDK)
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