RelationalSyncProvider.ProcessChangeBatch 方法

在给定解决策略、源变更、变更数据检索器、回调以及统计信息参数的情况下,处理变更批。

此方法不符合 CLS。  

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

语法

声明
<SuppressMessageAttribute("Microsoft.Design", "CA1062:ValidateArgumentsOfPublicMethods")> _
Public Overrides Sub ProcessChangeBatch ( _
    resolutionPolicy As ConflictResolutionPolicy, _
    sourceChanges As ChangeBatch, _
    changeDataRetriever As Object, _
    syncCallbacks As SyncCallbacks, _
    sessionStatistics As SyncSessionStatistics _
)
用法
Dim instance As RelationalSyncProvider
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)
[SuppressMessageAttribute("Microsoft.Design", "CA1062:ValidateArgumentsOfPublicMethods")] 
public override void ProcessChangeBatch (
    ConflictResolutionPolicy resolutionPolicy,
    ChangeBatch sourceChanges,
    Object changeDataRetriever,
    SyncCallbacks syncCallbacks,
    SyncSessionStatistics sessionStatistics
)
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1062:ValidateArgumentsOfPublicMethods")] 
public:
virtual void ProcessChangeBatch (
    ConflictResolutionPolicy resolutionPolicy, 
    ChangeBatch^ sourceChanges, 
    Object^ changeDataRetriever, 
    SyncCallbacks^ syncCallbacks, 
    SyncSessionStatistics^ sessionStatistics
) override
/** @attribute SuppressMessageAttribute("Microsoft.Design", "CA1062:ValidateArgumentsOfPublicMethods") */ 
public void ProcessChangeBatch (
    ConflictResolutionPolicy resolutionPolicy, 
    ChangeBatch sourceChanges, 
    Object changeDataRetriever, 
    SyncCallbacks syncCallbacks, 
    SyncSessionStatistics sessionStatistics
)
SuppressMessageAttribute("Microsoft.Design", "CA1062:ValidateArgumentsOfPublicMethods") 
public override function ProcessChangeBatch (
    resolutionPolicy : ConflictResolutionPolicy, 
    sourceChanges : ChangeBatch, 
    changeDataRetriever : Object, 
    syncCallbacks : SyncCallbacks, 
    sessionStatistics : SyncSessionStatistics
)

参数

  • sourceChanges
    包含要处理的变更的 ChangeBatch 对象。
  • changeDataRetriever
    将用于检索已修改数据的对象。
  • syncCallbacks
    表示用于调度同步事件的应用程序回调的 SyncCallbacks 对象。
  • sessionStatistics
    一个 SyncSessionStatistics 对象,该对象包含有关已应用以及无法应用的变更的信息。

请参阅

参考

RelationalSyncProvider 类
RelationalSyncProvider 成员
Microsoft.Synchronization.Data 命名空间