Sdílet prostřednictvím


PSDeviceTwin Class

Definition

Device Twin Representation.

public class PSDeviceTwin
type PSDeviceTwin = class
Public Class PSDeviceTwin
Inheritance
PSDeviceTwin
Derived

Constructors

PSDeviceTwin()

Properties

AuthenticationType

Device's authentication type.

Capabilities

Capabilities that are enabled on the device

CloudToDeviceMessageCount

Number of messages sent to the Device from the Cloud.

ConnectionState

Device's ConnectionState.

ConnectionStateUpdatedTime

Time when the ConnectionState was last updated.

DeviceId

Device ID

ETag

Device's Twin ETag.

LastActivityTime

Time when the PSDevice was last active.

Properties

Device's properties.

Status

Device's Status.

StatusReason

Reason, if any, for the Device to be in specified Status.

StatusUpdatedTime

Time when the Status was last updated.

Tags

Device's Tags.

Version

Device's Twin Version.

Applies to