Udostępnij za pośrednictwem


SaveChangeWithChangeUnitsContext.ConflictingItemId Property

Gets the item ID of the item in the destination replica that conflicts with the item to be applied when the change to be applied is the resolution of a constraint conflict.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)

Syntax

'Declaration
Public ReadOnly Property ConflictingItemId As SyncId
'Usage
Dim instance As SaveChangeWithChangeUnitsContext
Dim value As SyncId

value = instance.ConflictingItemId
public SyncId ConflictingItemId { get; }
public:
property SyncId^ ConflictingItemId {
    SyncId^ get ();
}
/** @property */
public SyncId get_ConflictingItemId ()
public function get ConflictingItemId () : SyncId

Property Value

The item ID of the item in the destination replica that conflicts with the item to be applied when the change to be applied is the resolution of a constraint conflict.

Exceptions

Exception type Condition

NullReferenceException

The conflicting item ID does not exist.

Remarks

It is only valid to get this property when the change to be applied is the result of a constraint conflict resolution.

See Also

Reference

SaveChangeWithChangeUnitsContext Class
SaveChangeWithChangeUnitsContext Members
Microsoft.Synchronization Namespace