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