![]() | NeonServiceStop Method |
Stops the service if it's not already stopped. This is intended to be called by external things like unit test fixtures and is not intended to be called by the service itself.
Namespace: Neon.Service
Exception | Condition |
---|---|
TimeoutException | Thrown if the service did not exit gracefully in time before it would have been killed (e.g. by Kubernetes or Docker). |
![]() |
---|
It is not possible to restart a service after it's been stopped. |
This is intended for internal use or managing unit test execution and is not intended for use by the service to stop itself.