SimpleSyncProvider.ItemConflicting 事件

在 Sync Framework 检测到正在处理的项与并发冲突有关时发生。

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

语法

声明
Public Event ItemConflicting As EventHandler(Of SimpleSyncItemConflictingEventArgs)
用法
Dim instance As SimpleSyncProvider
Dim handler As EventHandler(Of SimpleSyncItemConflictingEventArgs)

AddHandler instance.ItemConflicting, handler
public event EventHandler<SimpleSyncItemConflictingEventArgs> ItemConflicting
public:
event EventHandler<SimpleSyncItemConflictingEventArgs^>^ ItemConflicting {
    void add (EventHandler<SimpleSyncItemConflictingEventArgs^>^ value);
    void remove (EventHandler<SimpleSyncItemConflictingEventArgs^>^ value);
}
/** @event */
public void add_ItemConflicting (EventHandler<SimpleSyncItemConflictingEventArgs> value)

/** @event */
public void remove_ItemConflicting (EventHandler<SimpleSyncItemConflictingEventArgs> value)
JScript supports the use of events, but not the declaration of new ones.

备注

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

请参阅

参考

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