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
)
member BeginFullEnumerationChangeApplication :
destinationKnowledge:SyncKnowledge *
destinationForgottenKnowledge:ForgottenKnowledge *
sourceForgottenDeleteKnowledge:SyncKnowledge *
sourceForgottenDeleteForgottenKnowledge:ForgottenKnowledge *
filterInfo:FilterInfo *
syncCallbacks:SyncCallbacks *
sourceDataRetriever:IChangeDataRetriever *
destinationDataRetriever:IChangeDataRetriever -> unit
public function BeginFullEnumerationChangeApplication(
destinationKnowledge : SyncKnowledge,
destinationForgottenKnowledge : ForgottenKnowledge,
sourceForgottenDeleteKnowledge : SyncKnowledge,
sourceForgottenDeleteForgottenKnowledge : ForgottenKnowledge,
filterInfo : FilterInfo,
syncCallbacks : SyncCallbacks,
sourceDataRetriever : IChangeDataRetriever,
destinationDataRetriever : IChangeDataRetriever
)
参数
- destinationKnowledge
类型:Microsoft.Synchronization. . :: . .SyncKnowledge
目标副本的当前知识。
- destinationForgottenKnowledge
类型:Microsoft.Synchronization. . :: . .ForgottenKnowledge
目标副本的当前遗忘知识。
- sourceForgottenDeleteKnowledge
类型:Microsoft.Synchronization. . :: . .SyncKnowledge
要处理的变更批的生成知识。
- sourceForgottenDeleteForgottenKnowledge
类型:Microsoft.Synchronization. . :: . .ForgottenKnowledge
源副本的当前遗忘知识。
- filterInfo
类型:Microsoft.Synchronization. . :: . .FilterInfo
有关目标提供程序使用的筛选器的信息。可为 nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing)。
- syncCallbacks
类型:Microsoft.Synchronization. . :: . .SyncCallbacks
将接收有关变更应用事件的通知的回调。可为 nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing)。
- sourceDataRetriever
类型:Microsoft.Synchronization. . :: . .IChangeDataRetriever
可用于从源副本中检索项数据的对象。
- destinationDataRetriever
类型:Microsoft.Synchronization. . :: . .IChangeDataRetriever
可用于从目标副本中检索项数据的对象。
异常
异常 | 条件 |
---|---|
ArgumentNullException | 必需的参数为 null Nothing nullptr unit null 引用(在 Visual Basic 中为 Nothing) 。 |
SyncIdFormatMismatchException | 任何指定知识对象的 ID 格式架构与初始化此对象时指定的 ID 格式架构不匹配。 |
SyncInvalidOperationException | 另一组变更的变更应用已开始但未结束。 |
ItemListFilteredFullEnumerationNotSupportedException | filterInfo 参数指定正在使用项筛选。在恢复同步期间,目标提供程序不能使用项筛选。 |
注释
通常对通过目标提供程序的 ProcessFullEnumerationChangeBatch 方法接收的每批变更调用一次此方法。
必须先调用此方法,才能设置或计算知识,或者应用或报告变更。