ChangeApplicationServices.BeginFullEnumerationChangeApplication 方法

开始处理作为恢复同步组成部分的一组变更。

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

语法

声明
Public Sub BeginFullEnumerationChangeApplication ( _
    destinationKnowledge As SyncKnowledge, _
    destinationForgottenKnowledge As ForgottenKnowledge, _
    sourceForgottenDeleteKnowledge As SyncKnowledge, _
    sourceForgottenDeleteForgottenKnowledge As ForgottenKnowledge, _
    filterInfo As FilterInfo, _
    syncCallbacks As SyncCallbacks, _
    sourceDataRetriever As IChangeDataRetriever, _
    destinationDataRetriever As IChangeDataRetriever _
)
用法
Dim instance As ChangeApplicationServices
Dim destinationKnowledge As SyncKnowledge
Dim destinationForgottenKnowledge As ForgottenKnowledge
Dim sourceForgottenDeleteKnowledge As SyncKnowledge
Dim sourceForgottenDeleteForgottenKnowledge As ForgottenKnowledge
Dim filterInfo As FilterInfo
Dim syncCallbacks As SyncCallbacks
Dim sourceDataRetriever As IChangeDataRetriever
Dim destinationDataRetriever As IChangeDataRetriever

instance.BeginFullEnumerationChangeApplication(destinationKnowledge, destinationForgottenKnowledge, sourceForgottenDeleteKnowledge, sourceForgottenDeleteForgottenKnowledge, filterInfo, syncCallbacks, sourceDataRetriever, destinationDataRetriever)
public void BeginFullEnumerationChangeApplication (
    SyncKnowledge destinationKnowledge,
    ForgottenKnowledge destinationForgottenKnowledge,
    SyncKnowledge sourceForgottenDeleteKnowledge,
    ForgottenKnowledge sourceForgottenDeleteForgottenKnowledge,
    FilterInfo filterInfo,
    SyncCallbacks syncCallbacks,
    IChangeDataRetriever sourceDataRetriever,
    IChangeDataRetriever destinationDataRetriever
)
public:
void BeginFullEnumerationChangeApplication (
    SyncKnowledge^ destinationKnowledge, 
    ForgottenKnowledge^ destinationForgottenKnowledge, 
    SyncKnowledge^ sourceForgottenDeleteKnowledge, 
    ForgottenKnowledge^ sourceForgottenDeleteForgottenKnowledge, 
    FilterInfo^ filterInfo, 
    SyncCallbacks^ syncCallbacks, 
    IChangeDataRetriever^ sourceDataRetriever, 
    IChangeDataRetriever^ destinationDataRetriever
)
public void BeginFullEnumerationChangeApplication (
    SyncKnowledge destinationKnowledge, 
    ForgottenKnowledge destinationForgottenKnowledge, 
    SyncKnowledge sourceForgottenDeleteKnowledge, 
    ForgottenKnowledge sourceForgottenDeleteForgottenKnowledge, 
    FilterInfo filterInfo, 
    SyncCallbacks syncCallbacks, 
    IChangeDataRetriever sourceDataRetriever, 
    IChangeDataRetriever destinationDataRetriever
)
public function BeginFullEnumerationChangeApplication (
    destinationKnowledge : SyncKnowledge, 
    destinationForgottenKnowledge : ForgottenKnowledge, 
    sourceForgottenDeleteKnowledge : SyncKnowledge, 
    sourceForgottenDeleteForgottenKnowledge : ForgottenKnowledge, 
    filterInfo : FilterInfo, 
    syncCallbacks : SyncCallbacks, 
    sourceDataRetriever : IChangeDataRetriever, 
    destinationDataRetriever : IChangeDataRetriever
)

参数

  • destinationKnowledge
    目标副本的当前知识。
  • destinationForgottenKnowledge
    目标副本的当前遗忘知识。
  • sourceForgottenDeleteKnowledge
    要处理的变更批的生成知识。
  • sourceForgottenDeleteForgottenKnowledge
    源副本的当前遗忘知识。
  • filterInfo
    有关目标提供程序使用的筛选器的信息。可为 null 引用(在 Visual Basic 中为 Nothing)。
  • syncCallbacks
    将接收有关变更应用事件的通知的回调。可为 null 引用(在 Visual Basic 中为 Nothing)。
  • sourceDataRetriever
    可用于从源副本中检索项数据的对象。
  • destinationDataRetriever
    可用于从目标副本中检索项数据的对象。

异常

异常类型 条件

ArgumentNullException

必需的参数为 null 引用(在 Visual Basic 中为 Nothing)。

SyncIdFormatMismatchException

任何指定知识对象的 ID 格式架构与初始化此对象时指定的 ID 格式架构不匹配。

SyncInvalidOperationException

另一组变更的变更应用已开始但未结束。

ItemListFilteredFullEnumerationNotSupportedException

filterInfo 参数指定正在使用项筛选。在恢复同步期间,目标提供程序不能使用项筛选。

备注

通常对通过目标提供程序的 ProcessFullEnumerationChangeBatch 方法接收的每批变更调用一次此方法。

必须先调用此方法,才能设置或计算知识,或者应用或报告变更。

请参阅

参考

ChangeApplicationServices 类
ChangeApplicationServices 成员
Microsoft.Synchronization 命名空间