Expiry Type indicates the lifetime of a particular presence publication.

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

Syntax

Visual Basic (Declaration)
Public 
Enumeration 
ExpiryPolicy
C#
public 
enum 
ExpiryPolicy
Visual C++
public 
enum class 
ExpiryPolicy
JavaScript

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

Microsoft.Rtc.Collaboration.Presence.ExpiryPolicy.createEnum('

Microsoft.Rtc.Collaboration.Presence.ExpiryPolicy', false);

Members

Member name Description
Endpoint
Endpoint expiry type signifies that the publication is valid as long as the endpoint remains registered.
Persistent
Endpoint expiry type signifies that the publication is persistent and doesn't expire after all endpoint for this user unregisters.
User
User expiry type signifies that the publication is valid until atleast one of the endpoints for this user is registered.
Time
Time expiry signifies a time bound publication, where publication expires with specified time.
Custom
Custom expiry type signifies a custom expiry type.
Undefined
Expiry type is not defined

See Also