SyncAgent.StateChanged Event

Occurs when there is a change in the synchronization session state.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Public Event StateChanged As EventHandler(Of SessionStateChangedEventArgs)
'Usage
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>
JScript supports the use of events, but not the declaration of new ones.

See Also

Reference

SyncAgent Class

Microsoft.Synchronization Namespace