Click or drag to resize

IDaemonServiceStop Method

Indicates the caller wishes to stop the daemon service

Namespace: SanteDB.Core.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
bool Stop()

Return Value

Boolean
True if the service was stopped successfully
Remarks

Implementers of this method should ensure that they perform any necessary tearing down of the service. It is good practice to release any connections, dispose of any unmanaged objects, etc. The implementer should raise the Stopping event followed by Stopped and return true if the stop was successful

See Also