Request

Response

    Storage.Save method

    Commit a single cache entry to disk: writes the value most recently added under key, or deletes the on-disk entry when the key was passed to Remove. Entries that are added but never saved stay in memory only. Does nothing when the key is not present.

    public virtual void Save(string key, string group = null)
    
    parameterdescription
    key Cache key.
    group Optional cache group (folder). Pass null for ungrouped entries.

    Exceptions

    exceptioncondition
    IOException The entry could not be written to or removed from disk. The previously persisted file is left intact.

    See Also