Condividi tramite


Evento SyncAgent.StateChanged

Si verifica in presenza di una modifica nello stato della sessione di sincronizzazione.

Spazio dei nomi: Microsoft.Synchronization
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Sintassi

'Dichiarazione
Public Event StateChanged As EventHandler(Of SessionStateChangedEventArgs)
'Utilizzo
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.

Vedere anche

Riferimento

Classe SyncAgent
Membri SyncAgent
Spazio dei nomi Microsoft.Synchronization