Share via


InstanceLockLostException Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

A persistence provider throws this exception when it cannot perform the command because the lock on the instance does not match the lock associated with the instance handle against which the command was executed. Either the owner or the version does not match.

Namespace:  System.Runtime.Persistence
Assembly:  System.Runtime (in System.Runtime.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class InstanceLockLostException _
    Inherits InstancePersistenceCommandException
'Usage
Dim instance As InstanceLockLostException
[SerializableAttribute]
public class InstanceLockLostException : InstancePersistenceCommandException
[SerializableAttribute]
public ref class InstanceLockLostException : public InstancePersistenceCommandException
[<SerializableAttribute>]
type InstanceLockLostException =  
    class
        inherit InstancePersistenceCommandException
    end

Inheritance Hierarchy

System.Object
  System.Exception
    System.Runtime.Persistence.InstancePersistenceException
      System.Runtime.Persistence.InstancePersistenceCommandException
        System.Runtime.Persistence.InstanceLockLostException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

See Also

Reference

InstanceLockLostException Members

System.Runtime.Persistence Namespace