共用方式為


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);
}
member StateChanged : IEvent<EventHandler<SyncOrchestratorStateChangedEventArgs>,
    SyncOrchestratorStateChangedEventArgs>

請參閱

參考

SyncOrchestrator類別

SyncOrchestrator 成員

Microsoft.Synchronization 命名空間