Udostępnij za pośrednictwem


SyncAgent.SessionProgress Event

Occurs during synchronization: after metadata is read at the client, after metadata is written, after changes are downloaded, and after changes are uploaded.

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

Syntax

'Declaration
Public Event SessionProgress As EventHandler(Of SessionProgressEventArgs)
'Usage
Dim instance As SyncAgent
Dim handler As EventHandler(Of SessionProgressEventArgs)

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

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

See Also

Reference

SyncAgent Class
SyncAgent Members
Microsoft.Synchronization Namespace