StateChangedEventArgs(T) Constructor (Boolean, T, T)
NOTE: This API is now obsolete.
Initializes a new instance of the class to be used for a normal state changed event.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
<ObsoleteAttribute("This constructor is obsolete")> _
Public Sub New ( _
methodResult As Boolean, _
previousState As T, _
state As T _
)
'Usage
Dim methodResult As Boolean
Dim previousState As T
Dim state As T
Dim instance As New StateChangedEventArgs(methodResult, _
previousState, state)
[ObsoleteAttribute("This constructor is obsolete")]
public StateChangedEventArgs(
bool methodResult,
T previousState,
T state
)
Parameters
- methodResult
Type: System..::..Boolean
true if the results of the state change are also reported as the result of a method call; otherwise false.
- previousState
Type: T
The original state.
- state
Type: T
The new state.
Remarks
The caller should provide the old and new states to indicate the transition.
See Also
Reference
StateChangedEventArgs<(Of <(<'T>)>)> Class
StateChangedEventArgs<(Of <(<'T>)>)> Members