GlobalObjectProviderFactory Class

Provides a base class for enumerating global object providers.

This API is not CLS-compliant. The CLS-compliant alternative is [None].

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
<GuidAttribute("39FD482D-C76C-4dd4-9E06-FB7C52F69C8A")> _
<CLSCompliantAttribute(False)> _
Public MustInherit Class GlobalObjectProviderFactory _
    Inherits MarshalByRefObject
'Usage
Dim instance As GlobalObjectProviderFactory
[GuidAttribute("39FD482D-C76C-4dd4-9E06-FB7C52F69C8A")]
[CLSCompliantAttribute(false)]
public abstract class GlobalObjectProviderFactory : MarshalByRefObject
[GuidAttribute(L"39FD482D-C76C-4dd4-9E06-FB7C52F69C8A")]
[CLSCompliantAttribute(false)]
public ref class GlobalObjectProviderFactory abstract : public MarshalByRefObject
public abstract class GlobalObjectProviderFactory extends MarshalByRefObject

Remarks

The GlobalObjectProviderFactory class provides a mechanism for enumerating global object providers.

Design-time tools that are concerned only with accessing a list of current global objects or types instead typically use the GetGlobalObjects or GetGlobalTypes methods of the GlobalObjectService class.

There is a default implementation of this mechanism built into Microsoft Visual Studio design environment. This implementation looks in the registry for all available global object providers on each call; it does not cache any data. Custom project types may specify which global objects are returned by providing a class derived from GlobalObjectProviderFactory in their project context. This will preempt the service that is built into the design package.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    Microsoft.VisualStudio.Shell.Design.GlobalObjectProviderFactory

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

GlobalObjectProviderFactory Members

Microsoft.VisualStudio.Shell.Design Namespace

GlobalObjectProvider

GlobalObjectService