Set

FileCache.Set method

Inserts a cache entry into the cache.

public void Set(string key, object value)
Parameter Type Description
key String A unique identifier for the cache entry.
value Object The object to insert.

Exceptions

exception condition
ArgumentException The key is null, empty, rooted or contains path separators or parent-directory segments.

See Also