Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an object in the given application ___domain that implements IToolboxItemDiscovery.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)
Syntax
'Declaration
Function CreateItemDiscovery ( _
___domain As AppDomain _
) As ObjectHandle
ObjectHandle CreateItemDiscovery(
AppDomain ___domain
)
ObjectHandle^ CreateItemDiscovery(
AppDomain^ ___domain
)
abstract CreateItemDiscovery :
___domain:AppDomain -> ObjectHandle
function CreateItemDiscovery(
___domain : AppDomain
) : ObjectHandle
Parameters
___domain
Type: AppDomainDomain in which the object should be created.
Return Value
Type: ObjectHandle
A handle to the created object.
Remarks
This method is called from the primary application ___domain (which is different from the ___domain passed as an argument). The object handle will not be unwrapped in any ___domain other than the one it was created in, so the object does not need to be serializable or derive from MarshalByRefObject.
.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.