SyncAgent.OnSessionStateChanged 方法
引发 StateChanged 事件。
命名空间: Microsoft.Synchronization
程序集: Microsoft.Synchronization.Data(在 microsoft.synchronization.data.dll 中)
语法
声明
Protected Overridable Sub OnSessionStateChanged ( _
value As SessionStateChangedEventArgs _
)
用法
Dim value As SessionStateChangedEventArgs
Me.OnSessionStateChanged(value)
protected virtual void OnSessionStateChanged (
SessionStateChangedEventArgs value
)
protected:
virtual void OnSessionStateChanged (
SessionStateChangedEventArgs^ value
)
protected void OnSessionStateChanged (
SessionStateChangedEventArgs value
)
protected function OnSessionStateChanged (
value : SessionStateChangedEventArgs
)
参数
- value
包含事件数据的 SessionStateChangedEventArgs 对象。