Dela via


PresenceCategory Class

PresenceCategory represents the category data sent to the server.

Inheritance Hierarchy

System.Object
  Microsoft.Rtc.Collaboration.Presence.PresenceCategory
    Microsoft.Rtc.Collaboration.Presence.ContactCard
    Microsoft.Rtc.Collaboration.Presence.CustomPresenceCategory
    Microsoft.Rtc.Collaboration.Presence.Note
    Microsoft.Rtc.Collaboration.Presence.PresenceState
    Microsoft.Rtc.Collaboration.Presence.Services

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

Syntax

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

Remarks

This abstract class represents the structure of a presence category published by the endpoint. Every category is identified by its name, certain common attributes such as ExpiryPolicy and custom properties (defined by extending the object).

ExpiryPolicy denotes the lifetime of this category publication. The publication can last as long as the endpoint is active, for a specified period of time, or for longer than the lifetime of the endpoint. Deleting a category is equivalent to publishing the same category with an expiry time of zero.

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

PresenceCategory Members

Microsoft.Rtc.Collaboration.Presence Namespace

LocalOwnerPresence

PresenceCategoryWithMetaData

ExpiryPolicy

CustomPresenceCategory