共用方式為


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
)

參數

請參閱

參考

SyncAgent 類別
SyncAgent 成員
Microsoft.Synchronization 命名空間