C#C++F#VB
CloudFileClient.::..ListSharesSegmentedAsync Method (FileContinuationToken, CancellationToken)(FileContinuationToken^, CancellationToken)(FileContinuationToken, CancellationToken)(FileContinuationToken, CancellationToken)
Returns a task that performs an asynchronous request to return a result segment containing a collection of shares.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task<ShareResultSegment> ListSharesSegmentedAsync( FileContinuationToken currentToken, CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task<ShareResultSegment^>^ ListSharesSegmentedAsync( FileContinuationToken^ currentToken, CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract ListSharesSegmentedAsync : currentToken:FileContinuationToken * cancellationToken:CancellationToken -> Task<ShareResultSegment> [<DoesServiceRequestAttribute>] override ListSharesSegmentedAsync : currentToken:FileContinuationToken * cancellationToken:CancellationToken -> Task<ShareResultSegment>
<DoesServiceRequestAttribute> Public Overridable Function ListSharesSegmentedAsync ( currentToken As FileContinuationToken, cancellationToken As CancellationToken ) As Task(Of ShareResultSegment)
Parameters
- currentToken
-
Type:
Microsoft.WindowsAzure.Storage.File.FileContinuationTokenMicrosoft.WindowsAzure.Storage.File::FileContinuationToken^Microsoft.WindowsAzure.Storage.File.FileContinuationTokenMicrosoft.WindowsAzure.Storage.File.FileContinuationToken
A FileContinuationToken token returned by a previous listing operation.
- 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<ShareResultSegment>System.Threading.Tasks::Task<ShareResultSegment^>^System.Threading.Tasks.Task<ShareResultSegment>System.Threading.Tasks.Task(Of ShareResultSegment)A Task<TResult><TResult><'TResult>(Of TResult) object that represents the current operation.
See Also
ListSharesSegmentedAsync Overload
CloudFileClient Class
Microsoft.WindowsAzure.Storage.File Namespace