CloudFileDirectory.ListFilesAndDirectoriesSegmentedAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ListFilesAndDirectoriesSegmentedAsync(FileContinuationToken) |
Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items in the share. |
ListFilesAndDirectoriesSegmentedAsync(FileContinuationToken, CancellationToken) |
Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items in the share. |
ListFilesAndDirectoriesSegmentedAsync(String, FileContinuationToken, CancellationToken) |
Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items in the share. |
ListFilesAndDirectoriesSegmentedAsync(Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext) |
Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items in the share. |
ListFilesAndDirectoriesSegmentedAsync(Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext, CancellationToken) |
Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items in the share. |
ListFilesAndDirectoriesSegmentedAsync(String, Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext, CancellationToken) |
Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items in the share. |
ListFilesAndDirectoriesSegmentedAsync(FileContinuationToken)
Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items in the share.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment> ListFilesAndDirectoriesSegmentedAsync (Microsoft.Azure.Storage.File.FileContinuationToken currentToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListFilesAndDirectoriesSegmentedAsync : Microsoft.Azure.Storage.File.FileContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment>
override this.ListFilesAndDirectoriesSegmentedAsync : Microsoft.Azure.Storage.File.FileContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment>
Public Overridable Function ListFilesAndDirectoriesSegmentedAsync (currentToken As FileContinuationToken) As Task(Of FileResultSegment)
Parameters
- currentToken
- FileContinuationToken
A continuation token returned by a previous listing operation.
Returns
A Task<TResult> object that represents the current operation.
- Attributes
Applies to
ListFilesAndDirectoriesSegmentedAsync(FileContinuationToken, CancellationToken)
Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items in the share.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment> ListFilesAndDirectoriesSegmentedAsync (Microsoft.Azure.Storage.File.FileContinuationToken currentToken, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListFilesAndDirectoriesSegmentedAsync : Microsoft.Azure.Storage.File.FileContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment>
override this.ListFilesAndDirectoriesSegmentedAsync : Microsoft.Azure.Storage.File.FileContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment>
Public Overridable Function ListFilesAndDirectoriesSegmentedAsync (currentToken As FileContinuationToken, cancellationToken As CancellationToken) As Task(Of FileResultSegment)
Parameters
- currentToken
- FileContinuationToken
A continuation token returned by a previous listing operation.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
A Task<TResult> object that represents the current operation.
- Attributes
Applies to
ListFilesAndDirectoriesSegmentedAsync(String, FileContinuationToken, CancellationToken)
Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items in the share.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment> ListFilesAndDirectoriesSegmentedAsync (string prefix, Microsoft.Azure.Storage.File.FileContinuationToken currentToken, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListFilesAndDirectoriesSegmentedAsync : string * Microsoft.Azure.Storage.File.FileContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment>
override this.ListFilesAndDirectoriesSegmentedAsync : string * Microsoft.Azure.Storage.File.FileContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment>
Public Overridable Function ListFilesAndDirectoriesSegmentedAsync (prefix As String, currentToken As FileContinuationToken, cancellationToken As CancellationToken) As Task(Of FileResultSegment)
Parameters
- prefix
- String
A string containing the file or directory name prefix.
- currentToken
- FileContinuationToken
A continuation token returned by a previous listing operation.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
A Task<TResult> object that represents the current operation.
- Attributes
Applies to
ListFilesAndDirectoriesSegmentedAsync(Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext)
Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items in the share.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment> ListFilesAndDirectoriesSegmentedAsync (int? maxResults, Microsoft.Azure.Storage.File.FileContinuationToken currentToken, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListFilesAndDirectoriesSegmentedAsync : Nullable<int> * Microsoft.Azure.Storage.File.FileContinuationToken * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment>
override this.ListFilesAndDirectoriesSegmentedAsync : Nullable<int> * Microsoft.Azure.Storage.File.FileContinuationToken * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment>
Public Overridable Function ListFilesAndDirectoriesSegmentedAsync (maxResults As Nullable(Of Integer), currentToken As FileContinuationToken, options As FileRequestOptions, operationContext As OperationContext) As Task(Of FileResultSegment)
Parameters
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
- FileContinuationToken
A continuation token returned by a previous listing operation.
- options
- FileRequestOptions
A FileRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
Returns
A Task<TResult> object that represents the current operation.
- Attributes
Applies to
ListFilesAndDirectoriesSegmentedAsync(Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext, CancellationToken)
Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items in the share.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment> ListFilesAndDirectoriesSegmentedAsync (int? maxResults, Microsoft.Azure.Storage.File.FileContinuationToken currentToken, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListFilesAndDirectoriesSegmentedAsync : Nullable<int> * Microsoft.Azure.Storage.File.FileContinuationToken * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment>
override this.ListFilesAndDirectoriesSegmentedAsync : Nullable<int> * Microsoft.Azure.Storage.File.FileContinuationToken * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment>
Public Overridable Function ListFilesAndDirectoriesSegmentedAsync (maxResults As Nullable(Of Integer), currentToken As FileContinuationToken, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of FileResultSegment)
Parameters
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
- FileContinuationToken
A continuation token returned by a previous listing operation.
- options
- FileRequestOptions
A FileRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
A Task<TResult> object that represents the current operation.
- Attributes
Applies to
ListFilesAndDirectoriesSegmentedAsync(String, Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext, CancellationToken)
Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items in the share.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment> ListFilesAndDirectoriesSegmentedAsync (string prefix, int? maxResults, Microsoft.Azure.Storage.File.FileContinuationToken currentToken, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListFilesAndDirectoriesSegmentedAsync : string * Nullable<int> * Microsoft.Azure.Storage.File.FileContinuationToken * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment>
override this.ListFilesAndDirectoriesSegmentedAsync : string * Nullable<int> * Microsoft.Azure.Storage.File.FileContinuationToken * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileResultSegment>
Public Overridable Function ListFilesAndDirectoriesSegmentedAsync (prefix As String, maxResults As Nullable(Of Integer), currentToken As FileContinuationToken, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of FileResultSegment)
Parameters
- prefix
- String
A string containing the file or directory name prefix.
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
- FileContinuationToken
A continuation token returned by a previous listing operation.
- options
- FileRequestOptions
A FileRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
A Task<TResult> object that represents the current operation.
- Attributes
Applies to
Azure SDK for .NET