ISimpleSyncProviderConstraintConflictResolver.ModifyLocalItem Method
When overridden in a derived class, renames the local item so that it no longer conflicts with the remote item name.
Namespace: Microsoft.Synchronization.SimpleProviders
Assembly: Microsoft.Synchronization.SimpleProviders (in microsoft.synchronization.simpleproviders.dll)
Syntax
'Declaration
Sub ModifyLocalItem ( _
keyAndExpectedVersion As ItemFieldDictionary, _
recoverableErrorReportingContext As RecoverableErrorReportingContext, _
<OutAttribute> ByRef updatedKeyAndVersion As ItemFieldDictionary _
)
'Usage
Dim instance As ISimpleSyncProviderConstraintConflictResolver
Dim keyAndExpectedVersion As ItemFieldDictionary
Dim recoverableErrorReportingContext As RecoverableErrorReportingContext
Dim updatedKeyAndVersion As ItemFieldDictionary
instance.ModifyLocalItem(keyAndExpectedVersion, recoverableErrorReportingContext, updatedKeyAndVersion)
void ModifyLocalItem (
ItemFieldDictionary keyAndExpectedVersion,
RecoverableErrorReportingContext recoverableErrorReportingContext,
out ItemFieldDictionary updatedKeyAndVersion
)
void ModifyLocalItem (
ItemFieldDictionary^ keyAndExpectedVersion,
RecoverableErrorReportingContext^ recoverableErrorReportingContext,
[OutAttribute] ItemFieldDictionary^% updatedKeyAndVersion
)
void ModifyLocalItem (
ItemFieldDictionary keyAndExpectedVersion,
RecoverableErrorReportingContext recoverableErrorReportingContext,
/** @attribute OutAttribute() */ /** @ref */ ItemFieldDictionary updatedKeyAndVersion
)
JScript does not support passing value-type arguments by reference.
Parameters
- keyAndExpectedVersion
The key and version properties of the item that is in conflict.
- recoverableErrorReportingContext
A RecoverableErrorReportingContext object that is used to report recoverable errors that occur during attempts to resolve a conflict.
- updatedKeyAndVersion
Returns the key and version properties that were modified as a result of conflict resolution.
See Also
Reference
ISimpleSyncProviderConstraintConflictResolver Interface
ISimpleSyncProviderConstraintConflictResolver Members
Microsoft.Synchronization.SimpleProviders Namespace