PublishSubscribeSession Class

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

Inheritance Hierarchy

System.Object
  Microsoft.Rtc.Collaboration.Presence.PublishSubscribeSession
    Microsoft.Rtc.Collaboration.ContactsGroups.ContactGroupServices
    Microsoft.Rtc.Collaboration.Presence.LocalOwnerPresence

Namespace:  Microsoft.Rtc.Collaboration.Presence
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public MustInherit Class PublishSubscribeSession
'Usage
Dim instance As PublishSubscribeSession
public abstract class PublishSubscribeSession

Remarks

This is the base class for the LocalOwnerPresence and ContactGroupServices classes. PublishSubscribeSession provides common operations to create, refresh, and terminate subscriptions. It internally creates and manages a SipSubscription dialog to the Microsoft Communications Server server.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

PublishSubscribeSession Members

Microsoft.Rtc.Collaboration.Presence Namespace

LocalEndpoint

LocalOwnerPresence

ContactGroupServices

RemotePresence