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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.