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 物件。