IToolboxAppDomainControl Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This interface is implemented by clients who want to control the creation of the appdomain in which their IToolboxItemDiscovery implementation is created. If your package derives from Microsoft.VisualStudio.Shell.Package, set the AppDomainCreatorType property of your ProvideToolboxItemDiscoveryAttribute to the type of your class which implements this interface.
public interface class IToolboxAppDomainControl
public interface class IToolboxAppDomainControl
__interface IToolboxAppDomainControl
public interface IToolboxAppDomainControl
type IToolboxAppDomainControl = interface
Public Interface IToolboxAppDomainControl
Remarks
If your package derives from Package, set the AppDomainCreatorType property of your ProvideToolboxItemDiscoveryAttribute to the type of your class that implements this interface.
Methods
CreateAppDomain() |
Creates an appdomain for assembly loading. This is the appdomain that will be passed to IToolboxItemDiscoveryFactory.CreateItemDiscovery, and in which assemblies will be loaded so that their types can be enumerated and passed to IToolboxItemDiscovery.GetItemInfo. |
UnloadAppDomain(AppDomain) |
Unloads an appdomain created by CreateAppDomain. |