ISimpleSyncProviderConstraintConflictResolver.ModifyLocalItem 方法

在派生类中重写时,重命名本地项,以便它不再与远程项名称冲突。

命名空间: Microsoft.Synchronization.SimpleProviders
程序集: Microsoft.Synchronization.SimpleProviders(在 microsoft.synchronization.simpleproviders.dll 中)

语法

声明
Sub ModifyLocalItem ( _
    keyAndExpectedVersion As ItemFieldDictionary, _
    recoverableErrorReportingContext As RecoverableErrorReportingContext, _
    <OutAttribute> ByRef updatedKeyAndVersion As ItemFieldDictionary _
)
用法
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.

参数

  • keyAndExpectedVersion
    存在冲突的项的键属性和版本属性。
  • updatedKeyAndVersion
    返回为冲突解决而修改的键属性和版本属性。

请参阅

参考

ISimpleSyncProviderConstraintConflictResolver 接口
ISimpleSyncProviderConstraintConflictResolver 成员
Microsoft.Synchronization.SimpleProviders 命名空间