The PublishSubscribeSession class provides a
simplified wrapper to establish and terminate subscription and to
process the
SipSubscriptionevents. It also handles service requests
asynchronously.
Namespace:
Microsoft.Rtc.Collaboration.Presence
Assembly: Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
---|
Public MustInherit Class PublishSubscribeSession |
C# |
---|
public abstract class PublishSubscribeSession |
Visual C++ |
---|
public ref class PublishSubscribeSession abstract |
JavaScript |
---|
Microsoft.Rtc.Collaboration.Presence.PublishSubscribeSession = function(); Type.createClass( 'Microsoft.Rtc.Collaboration.Presence.PublishSubscribeSession'); |
Remarks
This is the base class for the LocalOwnerPresenceand ContactGroupServicesclasses. RemotePresencemanages many of its underlying subscriptions using classes that extend from this class. PublishSubscribeSessionprovides common operations to create, refresh, and terminate subscriptions. It internally creates and manages a SipSubscriptiondialog to the Office Communications Server server.
Inheritance Hierarchy
Object
Microsoft.Rtc.Collaboration.Presence . . :: . PublishSubscribeSession
Microsoft.Rtc.Collaboration.ContactsGroups . . :: . ContactGroupServices
Microsoft.Rtc.Collaboration.Presence . . :: . LocalOwnerPresence
Microsoft.Rtc.Collaboration.Presence . . :: . PublishSubscribeSession
Microsoft.Rtc.Collaboration.ContactsGroups . . :: . ContactGroupServices
Microsoft.Rtc.Collaboration.Presence . . :: . LocalOwnerPresence