Share via


ConcurrentModificationException members

Represents an exception that is thrown when the Update method or Delete method is used while the object is concurrently altered.

The ConcurrentModificationException type exposes the following members.

Constructors

  Name Description
Public method ConcurrentModificationException() Initializes a new instance of the class.
Public method ConcurrentModificationException(String) Initializes a new instance of the class with a specified error message.
Protected method ConcurrentModificationException(SerializationInfo, StreamingContext) Initializes a new instance of the class with serialized data.
Public method ConcurrentModificationException(String, Exception) Initializes a new instance of the class with a specified error message and a reference to the inner exception that caused this exception.
Public method ConcurrentModificationException(UInt32, Type) Initializes a new instance of the class with a specified identifier and type of metadata object that caused the exception.
Public method ConcurrentModificationException(String, UInt32, Type) Initializes a new instance of the class with a specified error message, and the identifier and type of the metadata object that caused the exception.
Public method ConcurrentModificationException(String, Exception, UInt32, Type) Initializes a new instance of the class with a specified error message, a reference to the inner exception that caused this exception, and the identifier and type of the metadata object that caused the exception.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HasExplicitMessage Gets a value that indicates whether the exception has an explicit message. (Inherited from MetadataException.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message Gets the exception message string. (Overrides MetadataException.Message.)
Public property MetadataObjectId Gets or sets the identifier of the metadata object that caused the exception.
Public property MetadataObjectType Represents the Microsoft .NET Framework type of the metadata object that is responsible for the exception. (Inherited from MetadataException.)
Public property ServerStackTrace Gets the server stack trace. (Inherited from MetadataException.)
Public property StackTrace (Inherited from Exception.)

Top

Methods

  Name Description
Public method GetBaseException (Inherited from Exception.)
Public method GetObjectData Serializes the information about the metadata object that caused the exception. (Overrides MetadataException.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method Initialize Initializes the class with the metadata object identifier and type.
Protected method LogEvent Logs the event. (Inherited from MetadataException.)
Public method ToString Converts the exception to a string. (Overrides MetadataException.ToString().)

Top

See also

Reference

ConcurrentModificationException class

Microsoft.SharePoint.BusinessData.Administration namespace