SPConcurrencyException Class

Represents an exception that is thrown to prevent overwriting settings when changes made to administration on one computer within a server farm conflict with settings on another computer.

Inheritance Hierarchy


Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No


<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPConcurrencyException _
    Inherits SPDatabaseException
Dim instance As SPConcurrencyException
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPConcurrencyException : SPDatabaseException


The SPConcurrencyException exception is typically raised when subclasses of the SPPersistedObject class are updated asynchronously. Configuration changes should occur as a direct result of an administrative action (i.e., in the same Web request, or in the same command line execution). Alternatively, it is up to the developer to provide synchronization of updates of the object across multiple processes and multiple machines. 

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


SPConcurrencyException Members

Microsoft.SharePoint.Administration Namespace