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>