다음을 통해 공유


AccessCondition.GenerateIfNoneMatchCondition(String) Method

Definition

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