ClientTwinProperties 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
ClientTwinProperties() |
Creates an instance of this class. |
ClientTwinProperties(String) |
Creates an instance of this class using a JSON fragment as the body. |
ClientTwinProperties(JObject, JObject) |
Creates an instance of this class using the given JSON fragments for the body and metadata. |
ClientTwinProperties(String, String) |
Creates an instance of this class using the given JSON fragments for the body and metadata. |
ClientTwinProperties()
Creates an instance of this class.
public ClientTwinProperties ();
Public Sub New ()
Applies to
ClientTwinProperties(String)
Creates an instance of this class using a JSON fragment as the body.
public ClientTwinProperties (string twinJson);
new Microsoft.Azure.Devices.ClientTwinProperties : string -> Microsoft.Azure.Devices.ClientTwinProperties
Public Sub New (twinJson As String)
Parameters
- twinJson
- String
JSON fragment containing the twin data.
Applies to
ClientTwinProperties(JObject, JObject)
Creates an instance of this class using the given JSON fragments for the body and metadata.
public ClientTwinProperties (Newtonsoft.Json.Linq.JObject twinJson, Newtonsoft.Json.Linq.JObject metadataJson);
new Microsoft.Azure.Devices.ClientTwinProperties : Newtonsoft.Json.Linq.JObject * Newtonsoft.Json.Linq.JObject -> Microsoft.Azure.Devices.ClientTwinProperties
Public Sub New (twinJson As JObject, metadataJson As JObject)
Parameters
- twinJson
- Newtonsoft.Json.Linq.JObject
JSON fragment containing the twin data.
- metadataJson
- Newtonsoft.Json.Linq.JObject
JSON fragment containing the metadata.
Applies to
ClientTwinProperties(String, String)
Creates an instance of this class using the given JSON fragments for the body and metadata.
public ClientTwinProperties (string twinJson, string metadataJson);
new Microsoft.Azure.Devices.ClientTwinProperties : string * string -> Microsoft.Azure.Devices.ClientTwinProperties
Public Sub New (twinJson As String, metadataJson As String)
Parameters
- twinJson
- String
JSON fragment containing the twin data.
- metadataJson
- String
JSON fragment containing the metadata.
Applies to
Azure SDK for .NET