Export (0) Print
Expand All

GetCurrentSubscriptionState Method

Return the current subscription state for a given target.

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

public CollaborationSubscriptionState GetCurrentSubscriptionState(
	string uri
)

Parameters

uri
Type: System..::..String

If PresenceDatasession is query oly then subscription state for all targets would always be either idle or terminated, because there is no underlying subscription dialog would be created for query.

Exceptions

[T:System.ArgumentNullException]: Thrown when the target parameter is null.

[T:System.ArgumentException]: Thrown when the target is not present in this RemotePresence subscriptions.

Community Additions

ADD
Show:
© 2014 Microsoft