SimpleSyncProvider.OnItemConflicting 方法

在派生类中重写时,引发 ItemConflicting 事件。

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

语法

声明
Public Overridable Sub OnItemConflicting ( _
    args As SimpleSyncItemConflictingEventArgs _
)
用法
Dim instance As SimpleSyncProvider
Dim args As SimpleSyncItemConflictingEventArgs

instance.OnItemConflicting(args)
public virtual void OnItemConflicting (
    SimpleSyncItemConflictingEventArgs args
)
public:
virtual void OnItemConflicting (
    SimpleSyncItemConflictingEventArgs^ args
)
public void OnItemConflicting (
    SimpleSyncItemConflictingEventArgs args
)
public function OnItemConflicting (
    args : SimpleSyncItemConflictingEventArgs
)

参数

备注

此方法用于并发冲突,当同一项或变更单位在以后同步的两个不同副本上发生变更时,发生并发冲突。有关更多信息,请参见为简单提供程序处理冲突

请参阅

参考

SimpleSyncProvider 类
SimpleSyncProvider 成员
Microsoft.Synchronization.SimpleProviders 命名空间