Partilhar via


ExportImportDevice.ETag Propriedade

Definição

Uma cadeia de caracteres que representa uma ETag para a entidade de acordo com RFC7232.

[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="eTag")]
public string ETag { get; set; }
[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="eTag")]
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Devices.NewtonsoftJsonETagConverter))]
public Azure.ETag ETag { get; set; }
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="eTag")>]
member this.ETag : string with get, set
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="eTag")>]
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Devices.NewtonsoftJsonETagConverter))>]
member this.ETag : Azure.ETag with get, set
Public Property ETag As String
Public Property ETag As ETag

Valor da propriedade

Atributos
Newtonsoft.Json.JsonPropertyAttribute Newtonsoft.Json.JsonConverterAttribute

Comentários

O valor só será usado se o modo de importação for updateIfMatchETag, nesse caso, a operação de importação será executada somente se essa ETag corresponder ao valor mantido pelo servidor.

Aplica-se a