SyncAgent.StateChanged 이벤트
동기화 세션 상태에 변경이 있을 때 발생합니다.
네임스페이스: Microsoft.Synchronization
어셈블리: microsoft.synchronization.data.dll의 Microsoft.Synchronization.Data
구문
‘선언
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);
}
/** @event */
public void add_StateChanged (EventHandler<SessionStateChangedEventArgs> value)
/** @event */
public void remove_StateChanged (EventHandler<SessionStateChangedEventArgs> value)
JScript supports the use of events, but not the declaration of new ones.