Sdílet prostřednictvím


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
'Usage
Dim instance As SaveChangeWithChangeUnitsContext
Dim value As ItemChange

value = instance.WinnerChange
public ItemChange WinnerChange { get; }
public:
property ItemChange^ WinnerChange {
    ItemChange^ get ();
}
/** @property */
public ItemChange get_WinnerChange ()
public function get WinnerChange () : ItemChange

Property Value

The metadata of the item to be applied when the change to be applied is the resolution of a constraint conflict.

Exceptions

Exception type 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
SaveChangeWithChangeUnitsContext Members
Microsoft.Synchronization Namespace