Called when we have finished the attempted update/delete (which may or
may not have been successful), after transaction completion.
Namespace: NHibernate.CacheAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
void Release( CacheKey key, ISoftLock lock ) |
Visual Basic |
---|
Sub Release ( _ key As CacheKey, _ lock As ISoftLock _ ) |
Visual C++ |
---|
void Release( CacheKey^ key, ISoftLock^ lock ) |
Parameters
- key
- Type: NHibernate.Cache..::..CacheKey
The key
- lock
- Type: NHibernate.Cache.Access..::..ISoftLock
The soft lock
Remarks
This method is used by "asynchronous" concurrency strategies.
Exceptions
Exception | Condition |
---|---|
NHibernate.Cache..::..CacheException |