Creates a new instance of the
CallStateChangedEventArgs class.
Namespace:
Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _ previousState As CallState, _ newState As CallState, _ transitionReason As CallStateTransitionReason, _ messageData As SipMessageData _ ) |
C# |
---|
public CallStateChangedEventArgs( CallState previousState, CallState newState, CallStateTransitionReason transitionReason, SipMessageData messageData ) |
Visual C++ |
---|
public: CallStateChangedEventArgs( CallState previousState, CallState newState, CallStateTransitionReason transitionReason, SipMessageData^ messageData ) |
JavaScript |
---|
Microsoft.Rtc.Collaboration.CallStateChangedEventArgs = function( previousState, newState, transitionReason, 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.