Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetCurrentSubscriptionState Method

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:
© 2015 Microsoft