SyncAgent.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);
}
/** @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.