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 命名空间