ConcurrentModificationException, classe (Microsoft.Office.Server.ApplicationRegistry.Administration)
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.
Espace de noms : Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public Class ConcurrentModificationException
Inherits MetadataException
'Utilisation
Dim instance As ConcurrentModificationException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)]
public class ConcurrentModificationException : MetadataException
Hiérarchie d'héritage
System.Object
System.Exception
Microsoft.Office.Server.ApplicationRegistry.Administration.MetadataException
Microsoft.Office.Server.ApplicationRegistry.Administration.ConcurrentModificationException
Sécurité des threads
Les membres statiques publics de ce type (Shared en Visual Basic) sont sécurisés au niveau des threads. Il n'est pas garanti que les membres d'instance soient sécurisés au niveau des threads.
Voir aussi
Référence
Membres ConcurrentModificationException
Microsoft.Office.Server.ApplicationRegistry.Administration, espace de noms