Share via


SessionStateChangedEventArgs Constructor

Initializes a new instance of the SessionStateChangedEventArgs class by using session state and session parameters.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
Public Sub New ( _
    sessionState As SyncSessionState, _
    syncSession As SyncSession _
)
'Usage
Dim sessionState As SyncSessionState
Dim syncSession As SyncSession

Dim instance As New SessionStateChangedEventArgs(sessionState, syncSession)
public SessionStateChangedEventArgs (
    SyncSessionState sessionState,
    SyncSession syncSession
)
public:
SessionStateChangedEventArgs (
    SyncSessionState sessionState, 
    SyncSession^ syncSession
)
public SessionStateChangedEventArgs (
    SyncSessionState sessionState, 
    SyncSession syncSession
)
public function SessionStateChangedEventArgs (
    sessionState : SyncSessionState, 
    syncSession : SyncSession
)

Parameters

  • sessionState
    A SyncSessionState object that is used to define whether the session is currently synchronizing.
  • syncSession
    A SyncSession object that contains synchronization session variables.

See Also

Reference

SessionStateChangedEventArgs Class
SessionStateChangedEventArgs Members
Microsoft.Synchronization Namespace