Compartir a través de


PresenceCategoryWithMetaData.Expires Property

Gets or sets the expiration time for the category.

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

Syntax

'Declaration
Public Property Expires As Integer
    Get
    Set
'Usage
Dim instance As PresenceCategoryWithMetaData
Dim value As Integer

value = instance.Expires

instance.Expires = value
public int Expires { get; set; }

Property Value

Type: System.Int32

Remarks

Expiration dictates the time to live for the published category. The client should refresh the category within this period, otherwise server will remove it on expiry.

See Also

Reference

PresenceCategoryWithMetaData Class

PresenceCategoryWithMetaData Members

Microsoft.Rtc.Collaboration.Presence Namespace