AddService Method
Adds the specified service to the ServiceManager service container.
Overload List
Overload | Description |
---|---|
AddService(Type,Object) | Adds the specified service to the ServiceManager service container. |
AddService(Type,ServiceCreatorCallback) | Adds the specified service to the service container. |
AddService(Type,Object,Boolean) | Adds the specified service to the service container, and optionally promotes the service to any parent service containers. |
AddService(Type,ServiceCreatorCallback,Boolean) | Adds the specified service to the service container, and optionally promotes the service to parent service containers. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also