AccessCondition.GenerateIfNoneMatchCondition Method

Windows Runtime Azure Storage Client Library

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.

Namespace: Microsoft.WindowsAzure.Storage
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim etag As String
Dim returnValue As AccessCondition

returnValue = AccessCondition.GenerateIfNoneMatchCondition(etag)

Syntax

Visual Basic
Public Shared Function GenerateIfNoneMatchCondition ( _
	etag As String _
) As AccessCondition
C#
public static AccessCondition GenerateIfNoneMatchCondition (
	string etag
)
C++
public:
static AccessCondition^ GenerateIfNoneMatchCondition (
	String^ etag
)
J#
public static AccessCondition GenerateIfNoneMatchCondition (
	String etag
)
JScript
public static function GenerateIfNoneMatchCondition (
	etag : String
) : AccessCondition

Parameters

etag

The ETag value to check against the resource's ETag, or "*" to require that the resource does not exist.

Return Value

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.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also