Udostępnij za pośrednictwem


SyncCallbacks.ProgressChanged Event

Occurs periodically during the synchronization session to report progress.

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

Syntax

'Declaration
Public Event ProgressChanged As EventHandler(Of SyncStagedProgressEventArgs)
'Usage
Dim instance As SyncCallbacks
Dim handler As EventHandler(Of SyncStagedProgressEventArgs)

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

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

Remarks

When this event is raised depends on the kind of provider that is being used. For example, the provider could raise the event after each change is applied, or it could raise the event every time that a defined amount of data is transferred during change application. For more information, see Reporting Synchronization Progress.

See Also

Reference

SyncCallbacks Class
SyncCallbacks Members
Microsoft.Synchronization Namespace