Share via


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

'Declaration
Function CreateAppDomain As AppDomain
AppDomain CreateAppDomain()
AppDomain^ CreateAppDomain()
abstract CreateAppDomain : unit -> AppDomain
function CreateAppDomain() : AppDomain

Return Value

Type: 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