C#
C++
F#
VB
CloudFile.::..ListRangesAsync Method (CancellationToken)(CancellationToken)(CancellationToken)(CancellationToken)
Returns a task that performs an asynchronous operation to return a collection of valid ranges and their starting and ending bytes.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task<IEnumerable<FileRange>> ListRangesAsync( CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task<IEnumerable<FileRange^>^>^ ListRangesAsync( CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract ListRangesAsync : cancellationToken:CancellationToken -> Task<IEnumerable<FileRange>> [<DoesServiceRequestAttribute>] override ListRangesAsync : cancellationToken:CancellationToken -> Task<IEnumerable<FileRange>>
<DoesServiceRequestAttribute> Public Overridable Function ListRangesAsync ( cancellationToken As CancellationToken ) As Task(Of IEnumerable(Of FileRange))
Parameters
- 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.Task<IEnumerable<FileRange>>System.Threading.Tasks::Task<IEnumerable<FileRange^>^>^System.Threading.Tasks.Task<IEnumerable<FileRange>>System.Threading.Tasks.Task(Of IEnumerable(Of FileRange))A Task<TResult><TResult><'TResult>(Of TResult) object that represents the current operation.