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


IExtensionManagerAdmin.ShutdownExtensions Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

IExtensionManagerAdmin.ShutdownExtensions Method

Shuts down and releases the extensions that are loaded and calls IExtension::Shutdown.

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

Product Availability

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

Description

The ShutdownExtensions method unloads all the extensions from your application and releases the licenses.

Remarks

There is no way to add extensions to your application using the same method, with which extensions were added to it, after the ShutdownExtensions method has been called in the same application lifetime.

 

Example 1:

Extensions were added with the AddExtension method.

The ShutdownExtensions has been called.

You cannot add extensions using the AddExtension method.

You can add extensions using the StartupExtensions method.

 

Example 2:

Extensions were added with the StartupExtensions method.

The ShutdownExtensions has been called.

You cannot add extensions using the StartupExtensions method.

You can add extensions using the AddExtension method.

 

 

 

See Also

IExtensionManagerAdmin Interface