Share via


ConcurrentModificationException Class

The Business Data Catalog administration object model uses an optimistic concurrency model. Each object has a version associated with it in memory. When it is written to disk via an Update, the version number in memory is compared with the version on disk, and is incremented if they are the same. The update is failed by throwing this Exception if they differ; the user must .Read() the object from disk, discarding the current in memory changes and then retry the update.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.Office.Server.ApplicationRegistry.Administration.MetadataException
      Microsoft.Office.Server.ApplicationRegistry.Administration.ConcurrentModificationException

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class ConcurrentModificationException _
    Inherits MetadataException
'Usage
Dim instance As ConcurrentModificationException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class ConcurrentModificationException : MetadataException

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.

See Also

Reference

ConcurrentModificationException Members

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace