Click or drag to resize

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
Assembly:  Neon.Service (in Neon.Service.dll) Version: 2.14.0
public virtual void Stop()
TimeoutException Thrown if the service did not exit gracefully in time before it would have been killed (e.g. by Kubernetes or Docker).
Note Note
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.

See Also