PublishSubscribeSession Members

Include Protected Members
Include Inherited Members

The PublishSubscribeSession class provides a simplified wrapper to establish and terminate subscription and to process the SipSubscription events. It also handles service requests asynchronously.

The PublishSubscribeSession type exposes the following members.

Properties

  Name Description
Public property CurrentState Gets the state of the subscription.
Public property IsSubscriptionActive Obsolete. Gets whether the session has an active underlying subscription.
Public property SubscriberEndpoint Gets the endpoint that the subscription belongs to.

Top

Methods

  Name Description
Public method BeginRefresh Begins an asynchronous operation to refresh the underlying subscription.
Public method BeginSubscribe Begins an asynchronous operation to subscribe to the presence session.
Public method BeginUnsubscribe Begins an asynchronous operation to unsubscribe the underlying subscription.
Public method EndRefresh Ends the Refresh Operation initiated by BeginRefresh.
Public method EndSubscribe Ends the Subscribe operation initiated by BeginSubscribe.
Public method EndUnsubscribe Ends the asynchronous operation started by BeginUnsubscribe method.
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method ToString (inherited from Object)

Top

Events

  Name Description
Public event SubscriptionStateChange Raised when there are changes in the underlying subscription state.

Top

See Also

Reference

PublishSubscribeSession Class

Microsoft.Rtc.Collaboration.Presence Namespace