CallStateChangedEventArgs Constructor
Creates a new instance of the CallStateChangedEventArgs class.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
previousState As CallState, _
newState As CallState, _
transitionReason As CallStateTransitionReason, _
messageData As SipMessageData _
)
'Usage
Dim previousState As CallState
Dim newState As CallState
Dim transitionReason As CallStateTransitionReason
Dim messageData As SipMessageData
Dim instance As New CallStateChangedEventArgs(previousState, _
newState, transitionReason, messageData)
public CallStateChangedEventArgs(
CallState previousState,
CallState newState,
CallStateTransitionReason transitionReason,
SipMessageData messageData
)
Parameters
- previousState
Type: Microsoft.Rtc.Collaboration.CallState
Previous state of the call.
- newState
Type: Microsoft.Rtc.Collaboration.CallState
New state of the call.
- transitionReason
Type: Microsoft.Rtc.Collaboration.CallStateTransitionReason
State transition reason.
- messageData
Type: Microsoft.Rtc.Signaling.SipMessageData
SIP message received that caused the state transition.
See Also
Reference
CallStateChangedEventArgs Class