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>