Share via


ServiceProvider Constructor

Class constructor for a managed service provider (IServiceProvider) that is accessible through the unmanaged IServiceProvider interface.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Protected Sub New
protected ServiceProvider()
protected:
ServiceProvider()
new : unit -> ServiceProvider
protected function ServiceProvider()

Remarks

This constructor should be used when creating a managed object that is a service provider and needs to be accessible from unmanaged code.

.NET Framework Security

See Also

Reference

ServiceProvider Class

ServiceProvider Overload

Microsoft.VisualStudio.Data Namespace