Share via


LocalPresentityNotificationEventArgs Class

This class represents the endpoint owner's presence data.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.Rtc.Collaboration.Presence.LocalPresentityNotificationEventArgs

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

Syntax

'Declaration
Public Class LocalPresentityNotificationEventArgs _
    Inherits EventArgs
'Usage
Dim instance As LocalPresentityNotificationEventArgs
public class LocalPresentityNotificationEventArgs : EventArgs

Remarks

A list of all presence categories that arrive on a notification can be obtained from AllCategories. Given that this list can be extensive providing details on all the categories published in all the containers, a more usable filered list can be obtained from the property SelfUsageCategories. Well known categories such as ContactCard, PresenceState, Note and Services are populated if there have an entry in SelfUsageCategories and no exceptions when they are parsed. The ContactCard is an aggregate of all contact card instances in the notification. Typically this aggregated instance is not published.

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

LocalPresentityNotificationEventArgs Members

Microsoft.Rtc.Collaboration.Presence Namespace

LocalOwnerPresence

PresenceNotificationReceived