ChangeApplicationServices.EndFullEnumerationChangeApplication 方法

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

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

语法

声明
Public Sub EndFullEnumerationChangeApplication ( _
    batchLearnedKnowledge As SyncKnowledge, _
    batchLearnedForgottenKnowledge As ForgottenKnowledge, _
    <OutAttribute> ByRef destinationKnowledge As SyncKnowledge, _
    <OutAttribute> ByRef destinationForgottenKnowledge As ForgottenKnowledge _
)
用法
Dim instance As ChangeApplicationServices
Dim batchLearnedKnowledge As SyncKnowledge
Dim batchLearnedForgottenKnowledge As ForgottenKnowledge
Dim destinationKnowledge As SyncKnowledge
Dim destinationForgottenKnowledge As ForgottenKnowledge

instance.EndFullEnumerationChangeApplication(batchLearnedKnowledge, batchLearnedForgottenKnowledge, destinationKnowledge, destinationForgottenKnowledge)
public void EndFullEnumerationChangeApplication (
    SyncKnowledge batchLearnedKnowledge,
    ForgottenKnowledge batchLearnedForgottenKnowledge,
    out SyncKnowledge destinationKnowledge,
    out ForgottenKnowledge destinationForgottenKnowledge
)
public:
void EndFullEnumerationChangeApplication (
    SyncKnowledge^ batchLearnedKnowledge, 
    ForgottenKnowledge^ batchLearnedForgottenKnowledge, 
    [OutAttribute] SyncKnowledge^% destinationKnowledge, 
    [OutAttribute] ForgottenKnowledge^% destinationForgottenKnowledge
)
public void EndFullEnumerationChangeApplication (
    SyncKnowledge batchLearnedKnowledge, 
    ForgottenKnowledge batchLearnedForgottenKnowledge, 
    /** @attribute OutAttribute() */ /** @ref */ SyncKnowledge destinationKnowledge, 
    /** @attribute OutAttribute() */ /** @ref */ ForgottenKnowledge destinationForgottenKnowledge
)
JScript does not support passing value-type arguments by reference.

参数

  • batchLearnedKnowledge
    变更批的已知知识。
  • batchLearnedForgottenKnowledge
    变更批的已知遗忘知识。
  • destinationKnowledge
    基于已应用或跳过的变更返回更新的目标知识。
  • destinationForgottenKnowledge
    基于已应用或跳过的变更返回更新的目标遗忘知识。

异常

异常类型 条件

ArgumentNullException

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

SyncIdFormatMismatchException

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

SyncInvalidOperationException

变更应用未开始。

备注

此方法修改由 batchLearnedKnowledge 指定的变更批已知知识和由 batchLearnedForgottenKnowledge 指定的变更批已知遗忘知识,以排除变更应用期间报告为已跳过的所有变更。

destinationKnowledge 中返回的已更新目标知识和 destinationForgottenKnowledge 中返回的已更新目标遗忘知识必须替换目标副本的当前知识和遗忘知识。

备注

计算更新的目标知识时,目标提供程序没有通过调用 ReportItemChangeAppliedReportChangeUnitChangeApplied 报告应用成功的所有变更都视为已失败。

请参阅

参考

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