共用方式為


ClientTwin Constructors

Definition

Overloads

ClientTwin()

Creates an instance of this class.

ClientTwin(ClientTwinDocument)

Creates an instance of this class.

ClientTwin(String)

Creates an instance of this class.

ClientTwin()

Creates an instance of this class.

public ClientTwin ();
Public Sub New ()

Applies to

ClientTwin(ClientTwinDocument)

Creates an instance of this class.

public ClientTwin (Microsoft.Azure.Devices.ClientTwinDocument twinProperties);
new Microsoft.Azure.Devices.ClientTwin : Microsoft.Azure.Devices.ClientTwinDocument -> Microsoft.Azure.Devices.ClientTwin
Public Sub New (twinProperties As ClientTwinDocument)

Parameters

twinProperties
ClientTwinDocument

Properties of the twin.

Applies to

ClientTwin(String)

Creates an instance of this class.

public ClientTwin (string deviceId);
new Microsoft.Azure.Devices.ClientTwin : string -> Microsoft.Azure.Devices.ClientTwin
Public Sub New (deviceId As String)

Parameters

deviceId
String

The unique Id of the device to which the twin belongs.

Applies to