ServiceContainer Constructor (IServiceProvider^)

 

Initializes a new instance of the ServiceContainer class using the specified parent service provider.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

public:
ServiceContainer(
	IServiceProvider^ parentProvider
)

Parameters

parentProvider
Type: System::IServiceProvider^

A parent service provider.

The service container uses this service object provider to retrieve services, if they are not available locally in the container.

.NET Framework
Available since 1.1
Return to top
Show: