Evict an item from the cache immediately (without regard for transaction isolation).
Namespace:
NHibernate.CacheAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Sub Remove ( _ key As CacheKey _ ) |
C# |
---|
void Remove( CacheKey key ) |
Visual C++ |
---|
void Remove( CacheKey^ key ) |
JavaScript |
---|
function remove(key); |
Parameters
- key
- Type: NHibernate.Cache..::.CacheKey
Exceptions
Exception | Condition |
---|---|
NHibernate.Cache..::.CacheException |