AccessCondition.GenerateIfNoneMatchCondition Method (String) (Microsoft.WindowsAzure.Storage)
From Microsoft.WindowsAzure.Storage.Queue
C#
C++
F#
VB
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)
Syntax
Public Shared Function GenerateIfNoneMatchCondition (
etag As String
) As AccessCondition
Parameters
- etag
-
Type:
System.StringSystem::String^System.StringSystem.String
The ETag value to check against the resource's ETag, or "*" to require that the resource does not exist.
Return Value
Type:
Microsoft.WindowsAzure.Storage.AccessConditionMicrosoft.WindowsAzure.Storage::AccessCondition^Microsoft.WindowsAzure.Storage.AccessConditionMicrosoft.WindowsAzure.Storage.AccessConditionAn 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.
Return to top
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.
Syntax
Public Shared Function GenerateIfNoneMatchCondition ( etag As String ) As AccessCondition
Parameters
- etag
-
Type:
System.StringSystem::String^System.StringSystem.String
The ETag value to check against the resource's ETag, or "*" to require that the resource does not exist.
Return Value
Type: Microsoft.WindowsAzure.Storage.AccessConditionMicrosoft.WindowsAzure.Storage::AccessCondition^Microsoft.WindowsAzure.Storage.AccessConditionMicrosoft.WindowsAzure.Storage.AccessConditionAn 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.