Common Application Framework

ServiceManager.RemoveService Method (Type, Boolean)

Removes the specified service type from the service container, and optionally promotes the service to parent service containers.

public abstract void RemoveService(
   Type serviceType,
   bool removeFromParent
);

Parameters

serviceType
The type of service to remove.
removeFromParent
true to promote this remove request to any parent service containers; otherwise, false.

Implements

IServiceContainer.RemoveService

See Also

ServiceManager Class | Aveva.ApplicationFramework Namespace | ServiceManager.RemoveService Overload List