Click or drag to resize

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