Partilhar via


ObjectChangeConflict Class

Specifies information about discrepancies between the current client value of one or more fields in a list item and the current database values of the fields.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Linq.ObjectChangeConflict

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

Syntax

'Declaration
Public NotInheritable Class ObjectChangeConflict
'Usage
Dim instance As ObjectChangeConflict
public sealed class ObjectChangeConflict

Remarks

A ObjectChangeConflict represents a set of one or more discrepancies for a list item. The MemberConflicts property holds an object for each field (or property) whose current value is different from the value it has in the database. One or more of these child objects may represent a field for which there is a genuine concurrency conflict; that is, the current value in the database does not match the value the field had when the current client process last retrieved it.

There can also be a conflict if the item was deleted by another process between the time the current process retrieved it with a query and the time the current process called SubmitChanges. In that case, the MemberConflicts property will be null.

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

ObjectChangeConflict Members

Microsoft.SharePoint.Linq Namespace