IToolboxAppDomainControl.CreateAppDomain Method

Definition

Creates an appdomain for assembly loading. This is the appdomain that will be passed to IToolboxItemDiscoveryFactory.CreateItemDiscovery, and in which assemblies will be loaded so that their types can be enumerated and passed to IToolboxItemDiscovery.GetItemInfo.

public:
 AppDomain ^ CreateAppDomain();
public AppDomain CreateAppDomain ();
abstract member CreateAppDomain : unit -> AppDomain
Public Function CreateAppDomain () As AppDomain

Returns

The newly created appdomain.

Remarks

This method may be called on a background thread.

Applies to