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
)
abstract OnSessionStateChanged :
value:SessionStateChangedEventArgs -> unit
override OnSessionStateChanged :
value:SessionStateChangedEventArgs -> unit
protected function OnSessionStateChanged(
value : SessionStateChangedEventArgs
)
參數
- value
型別:Microsoft.Synchronization. . :: . .SessionStateChangedEventArgs
包含事件資料的 SessionStateChangedEventArgs 物件。