Sets the page blob's sequence number.
Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim instance As CloudPageBlob
Dim sequenceNumberAction As SequenceNumberAction
Dim sequenceNumber As Nullable(Of Long)
Dim returnValue As IAsyncAction
returnValue = instance.SetSequenceNumberAsync(sequenceNumberAction, sequenceNumber) |
Syntax
Visual Basic |
---|
Public Function SetSequenceNumberAsync ( _
sequenceNumberAction As SequenceNumberAction, _
sequenceNumber As Nullable(Of Long) _
) As IAsyncAction |
C# |
---|
public IAsyncAction SetSequenceNumberAsync (
SequenceNumberAction sequenceNumberAction,
Nullable<long> sequenceNumber
) |
C++ |
---|
public:
IAsyncAction^ SetSequenceNumberAsync (
SequenceNumberAction sequenceNumberAction,
Nullable<long long> sequenceNumber
) |
J# |
---|
public IAsyncAction SetSequenceNumberAsync (
SequenceNumberAction sequenceNumberAction,
Nullable<long> sequenceNumber
) |
JScript |
---|
public function SetSequenceNumberAsync (
sequenceNumberAction : SequenceNumberAction,
sequenceNumber : Nullable<long>
) : IAsyncAction |
Parameters
- sequenceNumberAction
A value of type SequenceNumberAction, indicating the operation to perform on the sequence number.
- sequenceNumber
The sequence number. Set this parameter to null
if sequenceNumberAction is equal to Increment.
Return Value
An
IAsyncAction that represents an asynchronous action.
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