Share via


IToolboxAppDomainControl Interface

Definition

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.

Applies to