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 accessCondition As AccessCondition
Dim options As BlobRequestOptions
Dim operationContext As OperationContext
Dim returnValue As IAsyncAction
returnValue = instance.SetSequenceNumberAsync(sequenceNumberAction, sequenceNumber, accessCondition, options, operationContext) |
Syntax
Visual Basic |
---|
Public Function SetSequenceNumberAsync ( _
sequenceNumberAction As SequenceNumberAction, _
sequenceNumber As Nullable(Of Long), _
accessCondition As AccessCondition, _
options As BlobRequestOptions, _
operationContext As OperationContext _
) As IAsyncAction |
C# |
---|
public IAsyncAction SetSequenceNumberAsync (
SequenceNumberAction sequenceNumberAction,
Nullable<long> sequenceNumber,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext operationContext
) |
C++ |
---|
public:
IAsyncAction^ SetSequenceNumberAsync (
SequenceNumberAction sequenceNumberAction,
Nullable<long long> sequenceNumber,
AccessCondition^ accessCondition,
BlobRequestOptions^ options,
OperationContext^ operationContext
) |
J# |
---|
public IAsyncAction SetSequenceNumberAsync (
SequenceNumberAction sequenceNumberAction,
Nullable<long> sequenceNumber,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext operationContext
) |
JScript |
---|
public function SetSequenceNumberAsync (
sequenceNumberAction : SequenceNumberAction,
sequenceNumber : Nullable<long>,
accessCondition : AccessCondition,
options : BlobRequestOptions,
operationContext : OperationContext
) : 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.
- accessCondition
An AccessCondition object that represents the access conditions for the blob. If null
, no condition is used.
- options
A BlobRequestOptions object that specifies additional options for the request.
- operationContext
An OperationContext object that represents the context for the current operation.
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