DigitalTwinUpdateRequestOptions.IfMatch Property

Definition

A string representing a weak ETag for the entity that this request performs an operation against, as per RFC7232.

public string IfMatch { get; set; }
member this.IfMatch : string with get, set
Public Property IfMatch As String

Property Value

Remarks

The request's operation is performed only if this ETag matches the value maintained by the server, indicating that the entity has not been modified since it was last retrieved. To force the operation to execute only if the entity exists, set the ETag to the wildcard character '*'. To force the operation to execute unconditionally, leave this value null. If this value is not set, it defaults to null, and the ifMatch header will not be sent with the request. This means that update will be unconditional and the operation will execute regardless of the existence of the resource.

Applies to