ConcurrentModificationException 类 (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.
命名空间: Microsoft.Office.Server.ApplicationRegistry.Administration
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)
语法
声明
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public Class ConcurrentModificationException
Inherits MetadataException
用法
Dim instance As ConcurrentModificationException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)]
public class ConcurrentModificationException : MetadataException
继承层次结构
System.Object
System.Exception
Microsoft.Office.Server.ApplicationRegistry.Administration.MetadataException
Microsoft.Office.Server.ApplicationRegistry.Administration.ConcurrentModificationException
线程安全性
此类型的任何公共静态(在 Visual Basic 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。
另请参阅
参考
ConcurrentModificationException 成员
Microsoft.Office.Server.ApplicationRegistry.Administration 命名空间