Share via


ServiceProvider Constructor

Initializes a new instance of a managed or unmanaged IServiceProvider.

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

Syntax

'Declaration
Public Sub New
public ServiceProvider()
public:
ServiceProvider()
new : unit -> ServiceProvider
public function ServiceProvider()

Remarks

You could use this constructor 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.Framework Namespace