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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.