PresenceState.LastActive Property
Gets or sets the last active time.
Namespace: Microsoft.Rtc.Collaboration.Presence
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Property LastActive As DateTime
Get
Set
'Usage
Dim instance As PresenceState
Dim value As DateTime
value = instance.LastActive
instance.LastActive = value
public DateTime LastActive { get; set; }
Property Value
Type: System.DateTime
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when StateType is not AggregateState. |
Remarks
Returns DateTime.MinValue if this property is not applicable for this presence state type.