ServiceProvider Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ServiceProvider() |
Constructor for a new service provider. |
ServiceProvider(IServiceProvider) |
Constructor for a service provider that wraps and/or extends an existing OLE service provider. |
ServiceProvider(IServiceProvider) |
Constructor for a service provider that wraps and/or extends an existing managed service provider. |
ServiceProvider()
Constructor for a new service provider.
public:
ServiceProvider();
public ServiceProvider ();
Public Sub New ()
Applies to
ServiceProvider(IServiceProvider)
Important
This API is not CLS-compliant.
Constructor for a service provider that wraps and/or extends an existing OLE service provider.
public:
ServiceProvider(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ serviceProvider);
[System.CLSCompliant(false)]
public ServiceProvider (Microsoft.VisualStudio.OLE.Interop.IServiceProvider serviceProvider);
public ServiceProvider (Microsoft.VisualStudio.OLE.Interop.IServiceProvider serviceProvider);
[<System.CLSCompliant(false)>]
new Microsoft.VisualStudio.Data.Framework.ServiceProvider : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> Microsoft.VisualStudio.Data.Framework.ServiceProvider
new Microsoft.VisualStudio.Data.Framework.ServiceProvider : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> Microsoft.VisualStudio.Data.Framework.ServiceProvider
Public Sub New (serviceProvider As IServiceProvider)
Parameters
- serviceProvider
- IServiceProvider
An existing service provider.
- Attributes
Exceptions
The serviceProvider
parameter is null.
Applies to
ServiceProvider(IServiceProvider)
Constructor for a service provider that wraps and/or extends an existing managed service provider.
public:
ServiceProvider(IServiceProvider ^ parentProvider);
public ServiceProvider (IServiceProvider parentProvider);
new Microsoft.VisualStudio.Data.Framework.ServiceProvider : IServiceProvider -> Microsoft.VisualStudio.Data.Framework.ServiceProvider
Public Sub New (parentProvider As IServiceProvider)
Parameters
- parentProvider
- IServiceProvider
An existing service provider.