Событие StateChanged
Возникает, когда происходит изменение состояния сеанса синхронизации.
Пространство имен: Microsoft.Synchronization
Сборка: Microsoft.Synchronization.Data (в Microsoft.Synchronization.Data.dll)
Синтаксис
'Декларация
Public Event StateChanged As EventHandler(Of SessionStateChangedEventArgs)
'Применение
Dim instance As SyncAgent
Dim handler As EventHandler(Of SessionStateChangedEventArgs)
AddHandler instance.StateChanged, handler
public event EventHandler<SessionStateChangedEventArgs> StateChanged
public:
event EventHandler<SessionStateChangedEventArgs^>^ StateChanged {
void add (EventHandler<SessionStateChangedEventArgs^>^ value);
void remove (EventHandler<SessionStateChangedEventArgs^>^ value);
}
member StateChanged : IEvent<EventHandler<SessionStateChangedEventArgs>,
SessionStateChangedEventArgs>