共用方式為


ConcurrentModificationException Class

Represents an exception that is thrown when the Update method or Delete method is used while the object is concurrently altered.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.BusinessData.Administration.MetadataException
      Microsoft.SharePoint.BusinessData.Administration.ConcurrentModificationException

Namespace:  Microsoft.SharePoint.BusinessData.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

Remarks

The object that object is concurrently altered must be read from the database to refresh its values and the operation must be retried.

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.SharePoint.BusinessData.Administration Namespace