Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CloudFileDirectory.ListFilesAndDirectoriesSegmentedAsync 方法

定义

重载

ListFilesAndDirectoriesSegmentedAsync(FileContinuationToken)

返回一个任务,该任务执行异步操作以返回包含共享中文件项集合的结果段。

ListFilesAndDirectoriesSegmentedAsync(FileContinuationToken, CancellationToken)

返回一个任务,该任务执行异步操作以返回包含共享中文件项集合的结果段。

ListFilesAndDirectoriesSegmentedAsync(String, FileContinuationToken, CancellationToken)

返回一个任务,该任务执行异步操作以返回包含共享中文件项集合的结果段。

ListFilesAndDirectoriesSegmentedAsync(Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext)

返回一个任务,该任务执行异步操作以返回包含共享中文件项集合的结果段。

ListFilesAndDirectoriesSegmentedAsync(Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext, CancellationToken)

返回一个任务,该任务执行异步操作以返回包含共享中文件项集合的结果段。

ListFilesAndDirectoriesSegmentedAsync(String, Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext, CancellationToken)

返回一个任务,该任务执行异步操作以返回包含共享中文件项集合的结果段。

ListFilesAndDirectoriesSegmentedAsync(FileContinuationToken)

返回一个任务,该任务执行异步操作以返回包含共享中文件项集合的结果段。

[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)

参数

currentToken
FileContinuationToken

上一操作返回的继续标记。

返回

一个表示当前操作的 Task<TResult> 对象。

属性

适用于

ListFilesAndDirectoriesSegmentedAsync(FileContinuationToken, CancellationToken)

返回一个任务,该任务执行异步操作以返回包含共享中文件项集合的结果段。

[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)

参数

currentToken
FileContinuationToken

上一操作返回的继续标记。

cancellationToken
CancellationToken

等待任务完成期间要观察的 CancellationToken

返回

一个表示当前操作的 Task<TResult> 对象。

属性

适用于

ListFilesAndDirectoriesSegmentedAsync(String, FileContinuationToken, CancellationToken)

返回一个任务,该任务执行异步操作以返回包含共享中文件项集合的结果段。

[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)

参数

prefix
String

包含文件或目录名称前缀的字符串。

currentToken
FileContinuationToken

上一操作返回的继续标记。

cancellationToken
CancellationToken

等待任务完成期间要观察的 CancellationToken

返回

一个表示当前操作的 Task<TResult> 对象。

属性

适用于

ListFilesAndDirectoriesSegmentedAsync(Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext)

返回一个任务,该任务执行异步操作以返回包含共享中文件项集合的结果段。

[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)

参数

maxResults
Nullable<Int32>

一个非负整数值,指示一次最多返回的结果的数目,最大限制为每操作 5000。 如果此值为 null,则返回的最大可能结果数,最多为 5000。

currentToken
FileContinuationToken

上一操作返回的继续标记。

options
FileRequestOptions

一个 FileRequestOptions 对象,它指定请求的其他选项。

operationContext
OperationContext

一个 OperationContext 对象,它一个表示当前操作的上下文。

返回

一个表示当前操作的 Task<TResult> 对象。

属性

适用于

ListFilesAndDirectoriesSegmentedAsync(Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext, CancellationToken)

返回一个任务,该任务执行异步操作以返回包含共享中文件项集合的结果段。

[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)

参数

maxResults
Nullable<Int32>

一个非负整数值,指示一次最多返回的结果的数目,最大限制为每操作 5000。 如果此值为 null,则返回的最大可能结果数,最多为 5000。

currentToken
FileContinuationToken

上一操作返回的继续标记。

options
FileRequestOptions

一个 FileRequestOptions 对象,它指定请求的其他选项。

operationContext
OperationContext

一个 OperationContext 对象,它一个表示当前操作的上下文。

cancellationToken
CancellationToken

等待任务完成期间要观察的 CancellationToken

返回

一个表示当前操作的 Task<TResult> 对象。

属性

适用于

ListFilesAndDirectoriesSegmentedAsync(String, Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext, CancellationToken)

返回一个任务,该任务执行异步操作以返回包含共享中文件项集合的结果段。

[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)

参数

prefix
String

包含文件或目录名称前缀的字符串。

maxResults
Nullable<Int32>

一个非负整数值,指示一次最多返回的结果的数目,最大限制为每操作 5000。 如果此值为 null,则返回的最大可能结果数,最多为 5000。

currentToken
FileContinuationToken

上一操作返回的继续标记。

options
FileRequestOptions

一个 FileRequestOptions 对象,它指定请求的其他选项。

operationContext
OperationContext

一个 OperationContext 对象,它一个表示当前操作的上下文。

cancellationToken
CancellationToken

等待任务完成期间要观察的 CancellationToken

返回

一个表示当前操作的 Task<TResult> 对象。

属性

适用于