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( Nullable<int> maxResults, FileContinuationToken currentToken, FileRequestOptions options, OperationContext operationContext )
public: [DoesServiceRequestAttribute] virtual Task<FileResultSegment^>^ ListFilesAndDirectoriesSegmentedAsync( Nullable<int> maxResults, FileContinuationToken^ currentToken, FileRequestOptions^ options, OperationContext^ operationContext )
[<DoesServiceRequestAttribute>] abstract ListFilesAndDirectoriesSegmentedAsync : maxResults:Nullable<int> * currentToken:FileContinuationToken * options:FileRequestOptions * operationContext:OperationContext -> Task<FileResultSegment> [<DoesServiceRequestAttribute>] override ListFilesAndDirectoriesSegmentedAsync : maxResults:Nullable<int> * currentToken:FileContinuationToken * options:FileRequestOptions * operationContext:OperationContext -> Task<FileResultSegment>
<DoesServiceRequestAttribute> Public Overridable Function ListFilesAndDirectoriesSegmentedAsync ( maxResults As Nullable(Of Integer), currentToken As FileContinuationToken, options As FileRequestOptions, operationContext As OperationContext ) As Task(Of FileResultSegment)
Parameters
- maxResults
-
Type:
System.Nullable<Int32>System::Nullable<Int32>System.Nullable<Int32>System.Nullable(Of Int32)
A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000.
- 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.
- options
-
Type:
Microsoft.WindowsAzure.Storage.File.FileRequestOptionsMicrosoft.WindowsAzure.Storage.File::FileRequestOptions^Microsoft.WindowsAzure.Storage.File.FileRequestOptionsMicrosoft.WindowsAzure.Storage.File.FileRequestOptions
A FileRequestOptions object that specifies additional options for the request.
- operationContext
-
Type:
Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage::OperationContext^Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage.OperationContext
An OperationContext object that represents the context for the current operation.
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