Share via


SessionProgress 事件

在同步期间出现:在客户端读取元数据后、在写入元数据后、在下载变更后和在上载变更后。

命名空间:  Microsoft.Synchronization
程序集:  Microsoft.Synchronization.Data(在 Microsoft.Synchronization.Data.dll 中)

语法

声明
Public Event SessionProgress As EventHandler(Of SessionProgressEventArgs)
用法
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);
}
member SessionProgress : IEvent<EventHandler<SessionProgressEventArgs>,
    SessionProgressEventArgs>

请参阅

参考

SyncAgent类

SyncAgent 成员

Microsoft.Synchronization 命名空间