SubscriptionStateChangedEventArgs Constructor
Initializes a new instance of the SubscriptionStateChangedEventArgs class.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
previousSignalingState As SubscriptionSignalingState, _
newSignalingState As SubscriptionSignalingState, _
reason As TransitionReason _
)
'Usage
Dim previousSignalingState As SubscriptionSignalingState
Dim newSignalingState As SubscriptionSignalingState
Dim reason As TransitionReason
Dim instance As New SubscriptionStateChangedEventArgs(previousSignalingState, _
newSignalingState, reason)
public SubscriptionStateChangedEventArgs(
SubscriptionSignalingState previousSignalingState,
SubscriptionSignalingState newSignalingState,
TransitionReason reason
)
Parameters
- previousSignalingState
Type: Microsoft.Rtc.Signaling.SubscriptionSignalingState
Previous state of the SipSubscription.
- newSignalingState
Type: Microsoft.Rtc.Signaling.SubscriptionSignalingState
Updated state of the SipSubscription, which raises an event.
- reason
Type: Microsoft.Rtc.Signaling.TransitionReason
Indication of whether the event is raised due to client action or server action.
See Also
Reference
SubscriptionStateChangedEventArgs Class