次の方法で共有


SyncOrchestrator.StateChanged イベント

State の変更時に発生します。

名前空間: Microsoft.Synchronization
アセンブリ: Microsoft.Synchronization (microsoft.synchronization.dll 内)

構文

'宣言
Public Event StateChanged As EventHandler(Of SyncOrchestratorStateChangedEventArgs)
'使用
Dim instance As SyncOrchestrator
Dim handler As EventHandler(Of SyncOrchestratorStateChangedEventArgs)

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

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

参照

リファレンス

SyncOrchestrator クラス
SyncOrchestrator メンバ
Microsoft.Synchronization 名前空間