Returns a result segment containing a collection of file items in the share.
Namespace: Microsoft.WindowsAzure.Storage.File
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim instance As CloudFileDirectory
Dim maxResults As Nullable(Of Integer)
Dim currentToken As FileContinuationToken
Dim options As FileRequestOptions
Dim operationContext As OperationContext
Dim returnValue As IAsyncOperation(Of FileResultSegment)
returnValue = instance.ListFilesAndDirectoriesSegmentedAsync(maxResults, currentToken, options, operationContext) |
Syntax
Visual Basic |
---|
Public Function ListFilesAndDirectoriesSegmentedAsync ( _
maxResults As Nullable(Of Integer), _
currentToken As FileContinuationToken, _
options As FileRequestOptions, _
operationContext As OperationContext _
) As IAsyncOperation(Of FileResultSegment) |
C# |
---|
public IAsyncOperation<FileResultSegment> ListFilesAndDirectoriesSegmentedAsync (
Nullable<int> maxResults,
FileContinuationToken currentToken,
FileRequestOptions options,
OperationContext operationContext
) |
C++ |
---|
public:
IAsyncOperation<FileResultSegment^>^ ListFilesAndDirectoriesSegmentedAsync (
Nullable<int> maxResults,
FileContinuationToken^ currentToken,
FileRequestOptions^ options,
OperationContext^ operationContext
) |
J# |
---|
public IAsyncOperation<FileResultSegment> ListFilesAndDirectoriesSegmentedAsync (
Nullable<int> maxResults,
FileContinuationToken currentToken,
FileRequestOptions options,
OperationContext operationContext
) |
JScript |
---|
public function ListFilesAndDirectoriesSegmentedAsync (
maxResults : Nullable<int>,
currentToken : FileContinuationToken,
options : FileRequestOptions,
operationContext : OperationContext
) : IAsyncOperation<FileResultSegment> |
Parameters
- maxResults
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 zero, the maximum possible number of results will be returned, up to 5000.
- currentToken
A continuation token returned by a previous listing operation.
- options
An object that specifies additional options for the request.
- operationContext
An object that represents the context for the current operation.
Return Value
A file result segment.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also