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

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

Syntax

Visual Basic (Declaration)
Public 
Class 
PresenceCategoryWithMetaData
C#
public 
class 
PresenceCategoryWithMetaData
Visual C++
public 
ref class 
PresenceCategoryWithMetaData
JavaScript

Microsoft.Rtc.Collaboration.Presence.PresenceCategoryWithMetaData
= 
function();

Type.createClass(
	 
'Microsoft.Rtc.Collaboration.Presence.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 ContainerIdproperty 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 InstanceIdforms 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.

Inheritance Hierarchy

Object
   Microsoft.Rtc.Collaboration.Presence . . :: . PresenceCategoryWithMetaData

See Also