Constructs an access condition such that an operation will be performed only if resource's current sequence number is equal to the specified value.
Namespace: Microsoft.WindowsAzure.Storage
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim sequenceNumber As Long
Dim returnValue As AccessCondition
returnValue = AccessCondition.GenerateIfSequenceNumberEqualCondition(sequenceNumber) |
Syntax
Visual Basic |
---|
Public Shared Function GenerateIfSequenceNumberEqualCondition ( _
sequenceNumber As Long _
) As AccessCondition |
C# |
---|
public static AccessCondition GenerateIfSequenceNumberEqualCondition (
long sequenceNumber
) |
C++ |
---|
public:
static AccessCondition^ GenerateIfSequenceNumberEqualCondition (
long long sequenceNumber
) |
J# |
---|
public static AccessCondition GenerateIfSequenceNumberEqualCondition (
long sequenceNumber
) |
JScript |
---|
public static function GenerateIfSequenceNumberEqualCondition (
sequenceNumber : long
) : AccessCondition |
Parameters
- sequenceNumber
The value to compare to the current sequence number.
Return Value
An
AccessCondition object that represents the If-Sequence-Number-EQ 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
See Also