Share via


InstanceCollisionException 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 an instance to be in an uninitialized state but the instance is not in that state.

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

Syntax

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

Inheritance Hierarchy

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

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

InstanceCollisionException Members

System.Runtime.Persistence Namespace