Dela via


PresenceCategoryWithMetaData Class

PresenceCategoryWithMetaData class represents a Rich Presence Category data and contains certain meta data information in addition to the category data.

Inheritance Hierarchy

System.Object
  Microsoft.Rtc.Collaboration.Presence.PresenceCategoryWithMetaData

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

Syntax

'Declaration
Public Class PresenceCategoryWithMetaData
'Usage
Dim instance As PresenceCategoryWithMetaData
public class PresenceCategoryWithMetaData

Remarks

Category data represents the actual presence category data published along with other attributes. The attributes such as instanceId, version, container and expireType, will always be populated (unless the category is deleted where only the value of the ContainerId property will be populated) when it is the presence of the endpoint owners. When an object of this class is received while subscribing to other people's presence, only category data and container ID will have valid information.

Name, ContainerIdand InstanceId forms a key that must be unique within a publication service request. Otherwise the server responds with a duplicate publication error.

All the attributes are settable, except Version, which is supplied internally by UCMA. When a category is successfully published, the server updates its cached category version number of the category at its end and informs all the endpoints if they have subscribed to receive notifications.

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

PresenceCategoryWithMetaData Members

Microsoft.Rtc.Collaboration.Presence Namespace

LocalOwnerPresence

RemotePresence

PresenceCategory

LocalPresentityNotificationEventArgs

RemotePresenceNotificationEventArgs