Click or drag to resize

RedisCacheServiceStop Method

Indicates the caller wishes to stop the daemon service

Namespace: SanteDB.Caching.Redis
Assembly: SanteDB.Caching.Redis (in SanteDB.Caching.Redis.dll) Version: 3.0.2081-alpha+ce906ccc8091ff0a3c40d1fff3e2485e75a86c5b
Syntax
public bool Stop()

Return Value

Boolean
True if the service was stopped successfully

Implements

IDaemonServiceStop
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