Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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


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.


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

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.