ServiceProvider Constructor (IServiceProvider)
Initializes a new instance of an unmanaged IServiceProvider interface.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Sub New ( _
parentProvider As IServiceProvider _
)
public ServiceProvider(
IServiceProvider parentProvider
)
public:
ServiceProvider(
IServiceProvider^ parentProvider
)
new :
parentProvider:IServiceProvider -> ServiceProvider
public function ServiceProvider(
parentProvider : IServiceProvider
)
Parameters
parentProvider
Type: System.IServiceProviderAn unmanaged IServiceProvider interface object.
.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.