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 命名空間