Request

Response

    IStorage.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 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 the underlying store. The previously persisted value is left intact.

    Remarks

    Non-I/O failures from the underlying store may also propagate to the caller.

    See Also