UnmanagedSyncProviderWrapper.ProcessChangeBatch 方法
将变更批传递给非托管提供程序以进行处理。
命名空间: Microsoft.Synchronization
程序集: Microsoft.Synchronization(在 microsoft.synchronization.dll 中)
语法
声明
Public Overrides Sub ProcessChangeBatch ( _
resolutionPolicy As ConflictResolutionPolicy, _
sourceChanges As ChangeBatch, _
changeDataRetriever As Object, _
syncCallbacks As SyncCallbacks, _
sessionStatistics As SyncSessionStatistics _
)
用法
Dim instance As UnmanagedSyncProviderWrapper
Dim resolutionPolicy As ConflictResolutionPolicy
Dim sourceChanges As ChangeBatch
Dim changeDataRetriever As Object
Dim syncCallbacks As SyncCallbacks
Dim sessionStatistics As SyncSessionStatistics
instance.ProcessChangeBatch(resolutionPolicy, sourceChanges, changeDataRetriever, syncCallbacks, sessionStatistics)
public override void ProcessChangeBatch (
ConflictResolutionPolicy resolutionPolicy,
ChangeBatch sourceChanges,
Object changeDataRetriever,
SyncCallbacks syncCallbacks,
SyncSessionStatistics sessionStatistics
)
public:
virtual void ProcessChangeBatch (
ConflictResolutionPolicy resolutionPolicy,
ChangeBatch^ sourceChanges,
Object^ changeDataRetriever,
SyncCallbacks^ syncCallbacks,
SyncSessionStatistics^ sessionStatistics
) override
public void ProcessChangeBatch (
ConflictResolutionPolicy resolutionPolicy,
ChangeBatch sourceChanges,
Object changeDataRetriever,
SyncCallbacks syncCallbacks,
SyncSessionStatistics sessionStatistics
)
public override function ProcessChangeBatch (
resolutionPolicy : ConflictResolutionPolicy,
sourceChanges : ChangeBatch,
changeDataRetriever : Object,
syncCallbacks : SyncCallbacks,
sessionStatistics : SyncSessionStatistics
)
参数
- resolutionPolicy
用于解决冲突的策略。
- sourceChanges
来自源提供程序的变更批。
- changeDataRetriever
可用于检索变更数据的对象。
- syncCallbacks
在变更应用期间接收事件通知的对象。
- sessionStatistics
会话的统计信息。
备注
此方法对非托管 IKnowledgeSyncProvider::ProcessChangeBatch 方法进行包装。
如果已指定变更数据检索器适配器,此方法在将变更数据检索器传递给非托管提供程序的 IKnowledgeSyncProvider::ProcessChangeBatch 方法之前将该变更数据检索器转换为该检索器的非托管表示形式。否则,将在不进行任何转换的情况下传递变更数据检索器。
请参阅
参考
UnmanagedSyncProviderWrapper 类
UnmanagedSyncProviderWrapper 成员
Microsoft.Synchronization 命名空间