Click or drag to resize

IDataCachingServiceClear Method

Purges the entire cache of all entries

Namespace: SanteDB.Core.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
void Clear()
Remarks
The ability of a cache provider to implement this method may depend on the server environment in which the SanteDB instance is operating. For example, if running the REDIS cache provider, a call to this will require an administrative connection to the REDIS server, or else a InvalidOperationException will be thrown.
See Also