Dela via


ExpiryPolicy Enumeration

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

'Declaration
Public Enumeration ExpiryPolicy
'Usage
Dim instance As ExpiryPolicy
public enum ExpiryPolicy

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.

Publication grammar engine will query the category object to determine the right expiry type.

Undefined Expiry type is not defined

See Also

Reference

Microsoft.Rtc.Collaboration.Presence Namespace

PresenceCategory