共用方式為


SyncCallbacks.ItemChangeSkipped 事件

在載入或儲存項目時,如果同步處理提供者設定可復原錯誤,就會發生。

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

語法

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

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

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

備註

引發這個事件之時機的範例如下:當目的地提供者嘗試將變更套用至項目,但是此項目在項目存放區中鎖定時。然後,此提供者會針對該項目設定可復原錯誤,而且系統會引發生這個事件,以便報告錯誤。

請參閱

參考

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