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
- 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.