Partilhar via


PresenceState.DeviceType Property

Gets or sets the device type for MachineState/AggregateState/AggregateMachineState.

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

Syntax

'Declaration
Public Property DeviceType As DeviceType
    Get
    Set
'Usage
Dim instance As PresenceState
Dim value As DeviceType

value = instance.DeviceType

instance.DeviceType = value
public DeviceType DeviceType { get; set; }

Property Value

Type: Microsoft.Rtc.Collaboration.Presence.DeviceType

Exceptions

Exception Condition
ArgumentException

Thrown when the operation is invalid for the given state type.

See Also

Reference

PresenceState Class

PresenceState Members

Microsoft.Rtc.Collaboration.Presence Namespace