CloudPageBlob.SetSequenceNumberAsync Method (SequenceNumberAction, Nullable(Int64), CancellationToken) (Microsoft.WindowsAzure.Storage.Blob)
From Microsoft Windows Azure Storage Blob
C#
C++
F#
VB
CloudPageBlob.::..SetSequenceNumberAsync Method (SequenceNumberAction, Nullable<Int64>, CancellationToken)(SequenceNumberAction, Nullable<Int64>, CancellationToken)(SequenceNumberAction, Nullable<Int64>, CancellationToken)(SequenceNumberAction, Nullable(Of Int64), CancellationToken)
Initiates an asynchronous operation to set the page blob's sequence number.
Namespace:
Microsoft.WindowsAzure.Storage.Blob
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute]
public virtual Task SetSequenceNumberAsync(
SequenceNumberAction sequenceNumberAction,
Nullable<long> sequenceNumber,
CancellationToken cancellationToken
)
C++
public:
[DoesServiceRequestAttribute]
virtual Task^ SetSequenceNumberAsync(
SequenceNumberAction sequenceNumberAction,
Nullable<long long> sequenceNumber,
CancellationToken cancellationToken
)
[<DoesServiceRequestAttribute>]
abstract SetSequenceNumberAsync :
sequenceNumberAction:SequenceNumberAction *
sequenceNumber:Nullable<int64> *
cancellationToken:CancellationToken -> Task
[<DoesServiceRequestAttribute>]
override SetSequenceNumberAsync :
sequenceNumberAction:SequenceNumberAction *
sequenceNumber:Nullable<int64> *
cancellationToken:CancellationToken -> Task
<DoesServiceRequestAttribute>
Public Overridable Function SetSequenceNumberAsync (
sequenceNumberAction As SequenceNumberAction,
sequenceNumber As Nullable(Of Long),
cancellationToken As CancellationToken
) As Task
Parameters
- sequenceNumberAction
-
Type:
Microsoft.WindowsAzure.Storage.Blob.SequenceNumberActionMicrosoft.WindowsAzure.Storage.Blob::SequenceNumberActionMicrosoft.WindowsAzure.Storage.Blob.SequenceNumberActionMicrosoft.WindowsAzure.Storage.Blob.SequenceNumberAction
A value of type SequenceNumberAction, indicating the operation to perform on the sequence number.
- sequenceNumber
-
Type:
System.Nullable<Int64>System::Nullable<Int64>System.Nullable<Int64>System.Nullable(Of Int64)
The sequence number. Set this parameter to null if sequenceNumberAction is equal to F:SequenceNumberAction.IncrementReferenced topic's target id should not be empty. Article id: f41c77c1-c36b-463c-9215-deb5c4769cf7, link: F:SequenceNumberAction.Increment..
- cancellationToken
-
Type:
System.Threading.CancellationTokenSystem.Threading::CancellationTokenSystem.Threading.CancellationTokenSystem.Threading.CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Return Value
Type:
System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskA Task object that represents the asynchronous operation.
See Also
SetSequenceNumberAsync Overload
CloudPageBlob Class
Microsoft.WindowsAzure.Storage.Blob Namespace
Return to top
Initiates an asynchronous operation to set the page blob's sequence number.
Syntax
[DoesServiceRequestAttribute] public virtual Task SetSequenceNumberAsync( SequenceNumberAction sequenceNumberAction, Nullable<long> sequenceNumber, CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task^ SetSequenceNumberAsync( SequenceNumberAction sequenceNumberAction, Nullable<long long> sequenceNumber, CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract SetSequenceNumberAsync : sequenceNumberAction:SequenceNumberAction * sequenceNumber:Nullable<int64> * cancellationToken:CancellationToken -> Task [<DoesServiceRequestAttribute>] override SetSequenceNumberAsync : sequenceNumberAction:SequenceNumberAction * sequenceNumber:Nullable<int64> * cancellationToken:CancellationToken -> Task
<DoesServiceRequestAttribute> Public Overridable Function SetSequenceNumberAsync ( sequenceNumberAction As SequenceNumberAction, sequenceNumber As Nullable(Of Long), cancellationToken As CancellationToken ) As Task
Parameters
- sequenceNumberAction
-
Type:
Microsoft.WindowsAzure.Storage.Blob.SequenceNumberActionMicrosoft.WindowsAzure.Storage.Blob::SequenceNumberActionMicrosoft.WindowsAzure.Storage.Blob.SequenceNumberActionMicrosoft.WindowsAzure.Storage.Blob.SequenceNumberAction
A value of type SequenceNumberAction, indicating the operation to perform on the sequence number.
- sequenceNumber
-
Type:
System.Nullable<Int64>System::Nullable<Int64>System.Nullable<Int64>System.Nullable(Of Int64)
The sequence number. Set this parameter to null if sequenceNumberAction is equal to F:SequenceNumberAction.IncrementReferenced topic's target id should not be empty. Article id: f41c77c1-c36b-463c-9215-deb5c4769cf7, link: F:SequenceNumberAction.Increment..
- cancellationToken
-
Type:
System.Threading.CancellationTokenSystem.Threading::CancellationTokenSystem.Threading.CancellationTokenSystem.Threading.CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Return Value
Type: System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskA Task object that represents the asynchronous operation.
See Also
SetSequenceNumberAsync Overload
CloudPageBlob Class
Microsoft.WindowsAzure.Storage.Blob Namespace