你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ExportImportDevice.ETag 属性

定义

一个字符串,表示 RFC7232 中实体的 ETag。

[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

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute Newtonsoft.Json.JsonConverterAttribute

注解

仅当导入模式为 updateIfMatchETag 时才使用值,在这种情况下,仅当此 ETag 与服务器维护的值匹配时,才会执行导入操作。

适用于