次の方法で共有


IToolboxAppDomainControl.CreateAppDomain Method

Creates an application domain for assembly loading.

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

Syntax

'宣言
Function CreateAppDomain As AppDomain
AppDomain CreateAppDomain()

Return Value

Type: System.AppDomain
The newly-created application domain.

Remarks

This is the application domain that is passed to CreateItemDiscovery, and in which assemblies will be loaded so that their types can be enumerated and passed to GetItemInfo.

This method can be called on a background thread.

.NET Framework Security

See Also

Reference

IToolboxAppDomainControl Interface

Microsoft.VisualStudio.Shell Namespace