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
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
See Also