InstanceKeyCollisionException 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 expects to find an instance key in the unassociated state, but finds the key in a different state.

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

Syntax

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

Inheritance Hierarchy

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

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

InstanceKeyCollisionException Members

System.Runtime.Persistence Namespace