NamedCacheAsyncExtensionsAcquireLockAsync Method

ScaleOut Software NamedCache API
Overload List

  NameDescription
Public methodStatic memberAcquireLockAsync(NamedCache, Byte, LockTicket, CancellationToken)
Asynchronously locks the cached object in SOSS to prevent other clients from updating or removing it. This extension method is simply a convenience wrapper for AcquireLockAsync(CachedObjectId, LockTicket, CancellationToken) that creates a CachedObjectId from id.
Public methodStatic memberAcquireLockAsync(NamedCache, Guid, LockTicket, CancellationToken)
Asynchronously locks the cached object in SOSS to prevent other clients from updating or removing it. This extension method is simply a convenience wrapper for AcquireLockAsync(CachedObjectId, LockTicket, CancellationToken) that creates a CachedObjectId from id.
Public methodStatic memberAcquireLockAsync(NamedCache, String, LockTicket, CancellationToken)
Asynchronously locks the cached object in SOSS to prevent other clients from updating or removing it. This extension method is simply a convenience wrapper for AcquireLockAsync(CachedObjectId, LockTicket, CancellationToken) that creates a CachedObjectId from id.
Top
See Also

Reference