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

Return Value

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