Clear Method
Removes files from the cache.
Syntax
Remarks
This method removes all files from the cache which are fully flushed and currently closed. Depending on the value passed for RemoveOrphans and RemoveLocals, Orphan Files and/or Local Files may also be removed as well.
The operation is performed synchronously, so this method returns once all applicable files have been removed. During the operation, the Progress event will fire periodically to indicate progress.
.NET Standard Notes
To call this method in an asynchronous manner call ClearAsync instead. When the method completes (or an error is encountered) the ClearCompleted event will fire.