Share via


access_condition::generate_if_none_match_condition Method

Generates an access condition such that an operation will be performed only if the resource's ETag value does not match the specified ETag value.

static access_condition generate_if_none_match_condition(
   utility::string_t etag
);

Parameters

  • etag
    The ETag value that must be matched, or "*".

Return Value

An azure::storage::access_condition object that represents the If-None-Match condition.

Remarks

If "*" is specified as the parameter then this condition requires that the resource does not exist.

Requirements

Header: blob.h

Namespace: azure::storage

See Also

Reference

access_condition Class