다음을 통해 공유


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)
Available in Sandboxed Solutions: No

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