ChangeApplicationContext.SetConflictWinnerInformation Method

Sets the conflict winner information when this change is a conflict that requires more information.

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

Syntax

'Declaration
Public Sub SetConflictWinnerInformation ( _
    tickCount As ULong _
)
'Usage
Dim instance As ChangeApplicationContext
Dim tickCount As ULong

instance.SetConflictWinnerInformation(tickCount)
public void SetConflictWinnerInformation(
    ulong tickCount
)
public:
void SetConflictWinnerInformation(
    unsigned long long tickCount
)
member SetConflictWinnerInformation : 
        tickCount:uint64 -> unit 
public function SetConflictWinnerInformation(
    tickCount : ulong
)

Parameters

  • tickCount
    Type: System.UInt64
    The tick count, valid on the destination replica, to use for the version of the change that resolves the conflict.

Exceptions

Exception Condition
ArgumentException

tickCount is less than the current tick count of the destination replica.

SyncInvalidOperationException

ChangeApplicationAction is set to a value other than SetConflictWinnerInformation.

Remarks

When a conflict can be resolved by applying a change to the destination replica, the change applier service requires the destination provider to specify a tick count to use for the version of the change that resolves the conflict.

See Also

Reference

ChangeApplicationContext Class

Microsoft.Synchronization Namespace