Compartilhar via


MemberChangeConflict Class

Specifies information about a discrepancy between the value of a field (or list item metadata property) in the database and its value in the current process on the front-end Web server - its client value.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Linq.MemberChangeConflict

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

Syntax

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

Remarks

When SubmitChanges is called, Microsoft SharePoint Foundation checks to see if some other user has changed the same list item since the current user retrieved it. This is called a “concurrency conflict.” If there is a concurrency conflict, an ObjectChangeConflict object is created. It has a collection of child MemberChangeConflict objects; one for each field (or property) value that is different on the client (the front-end Web server) from what it currently is in the database. If the value was changed by the client, the IsModified property is true. If the value was changed by some other user and not by the client, IsModified is false. Since there is a concurrency conflict, at least one MemberChangeConflict object represents a change made by another user.

It is possible that both the current process and another user changed a field (or property) value. In that case, the IsModified property is true.

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

MemberChangeConflict Members

Microsoft.SharePoint.Linq Namespace