Udostępnij za pośrednictwem


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 (
    usigned long long tickCount
)
public void SetConflictWinnerInformation (
    UInt64 tickCount
)
public function SetConflictWinnerInformation (
    tickCount : ulong
)

Parameters

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

Exceptions

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