Share via


SaveChangeWithChangeUnitsContext.WinnerChange Property

Gets the metadata of 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 WinnerChange As ItemChange
    Get
'Usage
Dim instance As SaveChangeWithChangeUnitsContext
Dim value As ItemChange

value = instance.WinnerChange
public ItemChange WinnerChange { get; }
public:
property ItemChange^ WinnerChange {
    ItemChange^ get ();
}
member WinnerChange : ItemChange
function get WinnerChange () : ItemChange

Property Value

Type: Microsoft.Synchronization.ItemChange
The metadata of the item to be applied when the change to be applied is the resolution of a constraint conflict.

Exceptions

Exception Condition
SyncInvalidOperationException

Winner change metadata does not exist in this object.

Remarks

It is valid to get this property only when the change to be applied is the result of a constraint conflict that is resolved by merging.

See Also

Reference

SaveChangeWithChangeUnitsContext Class

Microsoft.Synchronization Namespace