DataCacheErrorCode.InvalidCacheLockHandle Field

The specified lock handle is not valid.

Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Core (in microsoft.applicationserver.caching.core.dll)

Dim value As Integer

value = DataCacheErrorCode.InvalidCacheLockHandle

public const int InvalidCacheLockHandle
public static final int InvalidCacheLockHandle
public const var InvalidCacheLockHandle : int

The lockHandle parameter of the lock-related methods must match the DataCacheLockHandle of the locked object to succeed. For more information about concurrency, see Concurrency Models (Velocity) and Concurrency Methods (Velocity).

Development Platforms

Visual Studio 2010 and later, .NET Framework 4

Target Platforms

Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2 2011-08-26