Condividi tramite


IToolboxAppDomainControl Interface

Controls the creation of the application domain in which the client’s IToolboxItemDiscovery implementation is created.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Syntax

'Declaration
Public Interface IToolboxAppDomainControl
public interface IToolboxAppDomainControl
public interface class IToolboxAppDomainControl
type IToolboxAppDomainControl =  interface end
public interface IToolboxAppDomainControl

The IToolboxAppDomainControl type exposes the following members.

Methods

  Name Description
Public method CreateAppDomain Creates an application domain for assembly loading.
Public method UnloadAppDomain Unloads an application domain created by CreateAppDomain.

Top

Remarks

If your package derives from Package, set the AppDomainCreatorType property of your ProvideToolboxItemDiscoveryAttribute to the type of your class that implements this interface.

See Also

Reference

Microsoft.VisualStudio.Shell Namespace