ServiceProviderWithSite Class
Provides an object that proffers services using both the managed and unmanaged versions of the ServiceProvider interface, and can be sited using the IObjectWithSite interface.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
Public MustInherit Class ServiceProviderWithSite _
Inherits ServiceProvider _
Implements IObjectWithSite
Dim instance As ServiceProviderWithSite
public abstract class ServiceProviderWithSite : ServiceProvider, IObjectWithSite
public ref class ServiceProviderWithSite abstract : public ServiceProvider,
IObjectWithSite
public abstract class ServiceProviderWithSite extends ServiceProvider implements IObjectWithSite
Remarks
This object essentially provides multiple inheritance from both the ServiceProvider and the ObjectWithSite classes. It actually inherits from the ServiceProvider class and has an IObjectWithSite object as a member variable, to which it delegates the implementation of IObjectWithSite.
This class is useful as a base class for any class that needs to be a service provider that is also able to be sited.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Data.ServiceProvider
Microsoft.VisualStudio.Data.ServiceProviderWithSite
Microsoft.VisualStudio.Data.DataConnectionSupport
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
ServiceProviderWithSite Members