AccessCondition.GenerateIfMatchCondition 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 matches 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.GenerateIfMatchCondition(etag)

Syntax

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

Parameters

etag

The ETag value to check against the resource's ETag.

Return Value

An AccessCondition object that represents the If-Match condition.

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