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
)
abstract OnItemConflicting :
args:SimpleSyncItemConflictingEventArgs -> unit
override OnItemConflicting :
args:SimpleSyncItemConflictingEventArgs -> unit
public function OnItemConflicting(
args : SimpleSyncItemConflictingEventArgs
)
參數
- args
型別:Microsoft.Synchronization.SimpleProviders. . :: . .SimpleSyncItemConflictingEventArgs
包含事件資料的 SimpleSyncItemConflictingEventArgs 物件。
備註
這個方法是用於並行衝突,而這些衝突是在兩個不同的複寫變更了相同的項目或變更單位,然後進行同步處理時發生。如需詳細資訊,請參閱處理簡單提供者的衝突。