共用方式為


Twin Constructors

Definition

Overloads

Twin()

Creates an instance of Twin

Twin(TwinProperties)

Creates an instance of Twin

Twin(String)

Creates an instance of Twin

Twin()

Creates an instance of Twin

public Twin ();
Public Sub New ()

Applies to

Twin(TwinProperties)

Creates an instance of Twin

public Twin (Microsoft.Azure.Devices.Shared.TwinProperties twinProperties);
new Microsoft.Azure.Devices.Shared.Twin : Microsoft.Azure.Devices.Shared.TwinProperties -> Microsoft.Azure.Devices.Shared.Twin
Public Sub New (twinProperties As TwinProperties)

Parameters

twinProperties
TwinProperties

Applies to

Twin(String)

Creates an instance of Twin

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

Parameters

deviceId
String

Device Id

Applies to