CustomPresenceCategory Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
CustomPresenceCategory represents category data as an XML string in its simplest form.
public ref class CustomPresenceCategory : Microsoft::Rtc::Collaboration::Presence::PresenceCategory
public class CustomPresenceCategory : Microsoft.Rtc.Collaboration.Presence.PresenceCategory
type CustomPresenceCategory = class
inherit PresenceCategory
Public Class CustomPresenceCategory
Inherits PresenceCategory
- Inheritance
Remarks
Applications that wish to publish an instance of CustomPresenceCategory can supply the instance id by setting the InstanceId. In the event that they don't assign a valid value and a well-known category is being published, UCMA 3.0 will attempt to determine the value itself during the publication operation. In the event it cannot an ArgumentException will be raised during publication. Well known categories include note, state, alerts, routing, rccOptions, calendarData, device, userproperties and userinformation. Similarly the expiry policy is automatically set if the category is any of the categories listed above.
Constructors
CustomPresenceCategory(String, String) |
Creates a new instance of the CustomPresenceCategory class. |
CustomPresenceCategory(String) |
Creates a new instance of the CustomPresenceCategory class. |
Fields
InstanceIdUnknown |
Instance ID is unknown. (Inherited from PresenceCategory) |
Properties
CategoryName |
Gets the name of the category. (Inherited from PresenceCategory) |
InstanceId |
Gets or sets the instance id of the category |
Methods
CreateExpiryPolicy() |
Creates an expiry policy. |
CreateInstanceId(RealTimeEndpoint) |
Returns the instanceId based on the category type. |
GetCategoryDataXml() |
Returns the XML string represented by this category. |