Partilhar via


CustomPresenceCategory Class

CustomPresenceCategory represents category data as an XML string in its simplest form.

Inheritance Hierarchy

System.Object
  Microsoft.Rtc.Collaboration.Presence.PresenceCategory
    Microsoft.Rtc.Collaboration.Presence.CustomPresenceCategory

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

Syntax

'Declaration
Public Class CustomPresenceCategory _
    Inherits PresenceCategory
'Usage
Dim instance As CustomPresenceCategory
public class CustomPresenceCategory : PresenceCategory

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.

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

CustomPresenceCategory Members

Microsoft.Rtc.Collaboration.Presence Namespace

PresenceCategory