AdoDotNetConnectionSupport.CreateService(IServiceContainer, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new service object based on the specified interface service type.
protected:
override System::Object ^ CreateService(System::ComponentModel::Design::IServiceContainer ^ container, Type ^ serviceType);
protected override object CreateService (System.ComponentModel.Design.IServiceContainer container, Type serviceType);
override this.CreateService : System.ComponentModel.Design.IServiceContainer * Type -> obj
Protected Overrides Function CreateService (container As IServiceContainer, serviceType As Type) As Object
Parameters
- container
- IServiceContainer
A service provider object to contain the service.
Returns
The service object.