次の方法で共有


SPUpdatedConcurrencyException class

Represents an exception in Microsoft SharePoint Foundation that occurs when running code on multiple front-end Web servers that modifies the same object, or when the servers use a mix of object model code, from different versions of the product that is now called Microsoft SharePoint Foundation, that modifies the same object.

Inheritance hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.Administration.SPDatabaseException
      Microsoft.SharePoint.Administration.SPConcurrencyException
        Microsoft.SharePoint.Administration.SPUpdatedConcurrencyException

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPUpdatedConcurrencyException _
    Inherits SPConcurrencyException
'Usage
Dim instance As SPUpdatedConcurrencyException
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPUpdatedConcurrencyException : SPConcurrencyException

Remarks

The SPUpdatedConcurrencyException can occur, for example, when the configuration database is updated by different users, in which case you might need to determine if the changes conflict, then resolve any differences, and reapply the second change. This exception might also indicate a programming error that is caused by obtaining two copies of the same object in a single thread.

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

SPUpdatedConcurrencyException members

Microsoft.SharePoint.Administration namespace