NamedCacheAsyncNamedCacheDataAccessorReleaseLock Method

ScaleOut Software NamedCache API
Overrides the ReleaseLock implementation of this method by throwing an InvalidOperationException.

Namespace:  Soss.Client
Assembly:  soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax

public override void ReleaseLock()
Exceptions

ExceptionCondition
InvalidOperationExceptionis thrown in all cases
Remarks

Because NamedCacheAsyncNamedCacheDataAccessor instances are not thread-stable, the LockTicket value is not valid between API calls. Consequently, releasing a lock via an NamedCacheAsyncNamedCacheDataAccessor requires a LockTicket. Use ReleaseLockAsync(LockTicket, CancellationToken) when releasing an object lock.
See Also

Reference