CurrentState Property

Gets the current signaling state of the subscription.

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

Syntax

'Declaration
Public ReadOnly Property CurrentState As SubscriptionSignalingState
    Get
'Usage
Dim instance As SipSubscription
Dim value As SubscriptionSignalingState

value = instance.CurrentState
public SubscriptionSignalingState CurrentState { get; }

Property Value

Type: Microsoft.Rtc.Signaling..::..SubscriptionSignalingState
A SubscriptionSignalingState()()()() member indicating the current status of the subscription.

Remarks

Bb759881.e0b899df-cbd7-4399-94f5-66ea955c1b78(en-us,office.13).gif

When CurrentState on a SipSubscription instance transitions to Terminated, the instance can no longer be used.

If a SipSubscription instance cannot connect because of temporary server unavailability, CurrentState is set to WaitingForRetry and another attempt to connect to the server is made shortly thereafter.

See Also

Reference

SipSubscription Class

SipSubscription Members

Microsoft.Rtc.Signaling Namespace