共用方式為


FeedbackRecord.DeviceGenerationId Property

Definition

The device generation Id of the target device of the cloud-to-device message to which this piece of feedback relates.

[Newtonsoft.Json.JsonProperty(DefaultValueHandling=Newtonsoft.Json.DefaultValueHandling.Ignore, PropertyName="deviceGenerationId")]
public string DeviceGenerationId { get; set; }
[Newtonsoft.Json.JsonProperty(DefaultValueHandling=Newtonsoft.Json.DefaultValueHandling.Ignore, PropertyName="deviceGenerationId")]
public string DeviceGenerationId { get; }
[<Newtonsoft.Json.JsonProperty(DefaultValueHandling=Newtonsoft.Json.DefaultValueHandling.Ignore, PropertyName="deviceGenerationId")>]
member this.DeviceGenerationId : string with get, set
[<Newtonsoft.Json.JsonProperty(DefaultValueHandling=Newtonsoft.Json.DefaultValueHandling.Ignore, PropertyName="deviceGenerationId")>]
member this.DeviceGenerationId : string
Public Property DeviceGenerationId As String
Public ReadOnly Property DeviceGenerationId As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

DeviceGenerationId is an IoT hub generated, case-sensitive string. This value is used to distinguish devices with the same device Id when they have been deleted and re-created.

Applies to