SyncCallbacks.ProgressChanged イベント
進行状況をレポートするため、同期セッション中に定期的に発生します。
名前空間: Microsoft.Synchronization
アセンブリ: Microsoft.Synchronization (microsoft.synchronization.dll 内)
構文
'宣言
Public Event ProgressChanged As EventHandler(Of SyncStagedProgressEventArgs)
'使用
Dim instance As SyncCallbacks
Dim handler As EventHandler(Of SyncStagedProgressEventArgs)
AddHandler instance.ProgressChanged, handler
public event EventHandler<SyncStagedProgressEventArgs> ProgressChanged
public:
event EventHandler<SyncStagedProgressEventArgs^>^ ProgressChanged {
void add (EventHandler<SyncStagedProgressEventArgs^>^ value);
void remove (EventHandler<SyncStagedProgressEventArgs^>^ value);
}
/** @event */
public void add_ProgressChanged (EventHandler<SyncStagedProgressEventArgs> value)
/** @event */
public void remove_ProgressChanged (EventHandler<SyncStagedProgressEventArgs> value)
JScript supports the use of events, but not the declaration of new ones.
解説
このイベントが発生するタイミングは、使用しているプロバイダの種類によって異なります。たとえば、プロバイダは、各変更の適用後にイベントを発生させる場合や、変更の適用時に定義された量のデータが転送されるたびにイベントを発生させる場合があります。詳細については、「同期の進行状況の報告」を参照してください。
参照
リファレンス
SyncCallbacks クラス
SyncCallbacks メンバ
Microsoft.Synchronization 名前空間