ConcurrencyException Class

The ConcurrencyException class represents the exception that is thrown when a concurrency error occurs while working with objects in the topology of the server farm.

System.Object

   System.Exception

      Microsoft.SharePoint.Portal.Topology.DatabaseException

          Microsoft.SharePoint.Portal.Topology.ConcurrencyException

Public Properties

The following table shows the properties of the ConcurrencyException class, the data type of each property, and a brief description of each.

Name Data type Description
Message String Gets a description of the concurrency exception.
ObjectId System.Guid Gets a GUID that identifies the object in the topology targeted by the changes that caused the concurrency exception.

Thread Safety

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

Remarks

The ConcurrencyException class also serves as the base class for the UpdatedConcurrencyException and DeletedConcurrencyException classes.

To use the properties and methods of the objects in the Topology namespace you must be a member of the local STS_WPG and SPS_WPG security groups, and a member of the db_owner database role for the configuration database.

In addition, for certain methods, such as those that create a portal site, you must be a member of the local Administrators group, and have membership in the Database Creators and Security Administrators server roles in the SQL Server instance that hosts the configuration database.

Requirements

Namespace: Microsoft.SharePoint.Portal.Topology

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security