SaveChangeContext.GetWinnerChange Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
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 Function GetWinnerChange As ItemChange
'Usage
Dim instance As SaveChangeContext
Dim returnValue As ItemChange
returnValue = instance.GetWinnerChange
public ItemChange GetWinnerChange ()
public:
ItemChange^ GetWinnerChange ()
public ItemChange GetWinnerChange ()
public function GetWinnerChange () : ItemChange
Return 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 |
---|---|
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
SaveChangeContext Class
SaveChangeContext Members
Microsoft.Synchronization Namespace