 | ServiceLocatorEndService Method |
Ends the usage of the provided service. If the service was newly registered when it
was started in
BeginServiceT(FuncT, T) it will be unregistered
calling the provided unregistration method.
Namespace: Aml.Engine.ServicesAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static void EndService(
Action unregister,
IAMLService service
)
Public Shared Sub EndService (
unregister As Action,
service As IAMLService
)
public:
static void EndService(
Action^ unregister,
IAMLService^ service
)
Parameters
- unregister Action
- Method to unregister the service
- service IAMLService
- Service to be unregistered
See Also