Partilhar via


StateChangedEventArgs<T> Constructor

Initializes a new instance of the class to be used for a normal state changed event. The caller should provide both old and new states to indicate the transition.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Sub New ( _
    previousState As T, _
    state As T _
)
'Usage
Dim previousState As T
Dim state As T

Dim instance As New StateChangedEventArgs(previousState, _
    state)
public StateChangedEventArgs(
    T previousState,
    T state
)

Parameters

  • previousState
    Type: T
    The original state.
  • state
    Type: T
    The new state.

See Also

Reference

StateChangedEventArgs<T> Class

StateChangedEventArgs<T> Members

Microsoft.Rtc.Signaling Namespace