Export (0) Print
Expand All

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.

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

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, 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. 

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft