共用方式為


SyncCallbacks.ItemConflicting 事件

當衝突解決原則設定為 ApplicationDefined 時,如果偵測到衝突,就會發生。

命名空間: Microsoft.Synchronization
組件: Microsoft.Synchronization (在 microsoft.synchronization.dll)

語法

'宣告
Public Event ItemConflicting As EventHandler(Of ItemConflictingEventArgs)
'用途
Dim instance As SyncCallbacks
Dim handler As EventHandler(Of ItemConflictingEventArgs)

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

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

請參閱

參考

SyncCallbacks 類別
SyncCallbacks 成員
Microsoft.Synchronization 命名空間