Share via


SyncOrchestrator.StateChanged Event

Occurs when State changes.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)

Syntax

'Declaration
Public Event StateChanged As EventHandler(Of SyncOrchestratorStateChangedEventArgs)
'Usage
Dim instance As SyncOrchestrator
Dim handler As EventHandler(Of SyncOrchestratorStateChangedEventArgs)

AddHandler instance.StateChanged, handler
public event EventHandler<SyncOrchestratorStateChangedEventArgs> StateChanged
public:
event EventHandler<SyncOrchestratorStateChangedEventArgs^>^ StateChanged {
    void add (EventHandler<SyncOrchestratorStateChangedEventArgs^>^ value);
    void remove (EventHandler<SyncOrchestratorStateChangedEventArgs^>^ value);
}
/** @event */
public void add_StateChanged (EventHandler<SyncOrchestratorStateChangedEventArgs> value)

/** @event */
public void remove_StateChanged (EventHandler<SyncOrchestratorStateChangedEventArgs> value)
JScript supports the use of events, but not the declaration of new ones.

See Also

Reference

SyncOrchestrator Class
SyncOrchestrator Members
Microsoft.Synchronization Namespace