This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IE > IExtensionManagerAdmin Interface > IExtensionManagerAdmin.ShutdownExtensions Method (ArcObjects .NET 10.4 SDK) |
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
);
The ShutdownExtensions method unloads all the extensions from your application and releases the licenses.
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.