Freigeben über


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