Edit

Share via


RemotePresence.GetCurrentSubscriptionState(String) Method

Definition

Gets the current subscription state for a given target.

public:
 Microsoft::Rtc::Collaboration::Presence::CollaborationSubscriptionState GetCurrentSubscriptionState(System::String ^ uri);
public Microsoft.Rtc.Collaboration.Presence.CollaborationSubscriptionState GetCurrentSubscriptionState (string uri);
member this.GetCurrentSubscriptionState : string -> Microsoft.Rtc.Collaboration.Presence.CollaborationSubscriptionState
Public Function GetCurrentSubscriptionState (uri As String) As CollaborationSubscriptionState

Parameters

uri
String

The URI of the target.

Returns

CollaborationSubscriptionState of the requested target.

Exceptions

Thrown when uri is null.

Thrown when uri has not been subscribed to.

Applies to