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.481-alpha
Syntax
bool Stop()

Return Value

Type: 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