AccessCondition.GenerateIfNoneMatchCondition(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs an access condition such that an operation will be performed only if the resource's ETag value does not match the specified ETag value.
public static Microsoft.Azure.Storage.AccessCondition GenerateIfNoneMatchCondition (string etag);
static member GenerateIfNoneMatchCondition : string -> Microsoft.Azure.Storage.AccessCondition
Public Shared Function GenerateIfNoneMatchCondition (etag As String) As AccessCondition
Parameters
- etag
- String
The ETag value to check against the resource's ETag, or "*"
to require that the resource does not exist.
Returns
An AccessCondition object that represents the If-None-Match condition.
Remarks
If "*"
is specified for the etag
parameter, then this condition requires that the resource does not exist.
Applies to
Azure SDK for .NET