ClientTwin Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.