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

CloudBlobDirectory.ListBlobsSegmentedAsync 方法

定义

重载

ListBlobsSegmentedAsync(BlobContinuationToken)

启动异步操作以返回包含虚拟目录中 Blob 项集合的结果段。

ListBlobsSegmentedAsync(BlobContinuationToken, CancellationToken)

启动异步操作以返回包含虚拟目录中 Blob 项集合的结果段。

ListBlobsSegmentedAsync(Boolean, BlobListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext)

启动异步操作以返回包含虚拟目录中 Blob 项集合的结果段。

ListBlobsSegmentedAsync(Boolean, BlobListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext, CancellationToken)

启动异步操作以返回包含虚拟目录中 Blob 项集合的结果段。

ListBlobsSegmentedAsync(BlobContinuationToken)

启动异步操作以返回包含虚拟目录中 Blob 项集合的结果段。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.BlobResultSegment> ListBlobsSegmentedAsync (Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListBlobsSegmentedAsync : Microsoft.Azure.Storage.Blob.BlobContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.BlobResultSegment>
override this.ListBlobsSegmentedAsync : Microsoft.Azure.Storage.Blob.BlobContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.BlobResultSegment>
Public Overridable Function ListBlobsSegmentedAsync (currentToken As BlobContinuationToken) As Task(Of BlobResultSegment)

参数

currentToken
BlobContinuationToken

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

返回

Task<TResult> 类型的一个 BlobResultSegment 对象。

属性

适用于

ListBlobsSegmentedAsync(BlobContinuationToken, CancellationToken)

启动异步操作以返回包含虚拟目录中 Blob 项集合的结果段。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.BlobResultSegment> ListBlobsSegmentedAsync (Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListBlobsSegmentedAsync : Microsoft.Azure.Storage.Blob.BlobContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.BlobResultSegment>
override this.ListBlobsSegmentedAsync : Microsoft.Azure.Storage.Blob.BlobContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.BlobResultSegment>
Public Overridable Function ListBlobsSegmentedAsync (currentToken As BlobContinuationToken, cancellationToken As CancellationToken) As Task(Of BlobResultSegment)

参数

currentToken
BlobContinuationToken

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

cancellationToken
CancellationToken

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

返回

Task<TResult> 类型的一个 BlobResultSegment 对象。

属性

适用于

ListBlobsSegmentedAsync(Boolean, BlobListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext)

启动异步操作以返回包含虚拟目录中 Blob 项集合的结果段。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.BlobResultSegment> ListBlobsSegmentedAsync (bool useFlatBlobListing, Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListBlobsSegmentedAsync : bool * Microsoft.Azure.Storage.Blob.BlobListingDetails * Nullable<int> * Microsoft.Azure.Storage.Blob.BlobContinuationToken * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.BlobResultSegment>
override this.ListBlobsSegmentedAsync : bool * Microsoft.Azure.Storage.Blob.BlobListingDetails * Nullable<int> * Microsoft.Azure.Storage.Blob.BlobContinuationToken * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.BlobResultSegment>
Public Overridable Function ListBlobsSegmentedAsync (useFlatBlobListing As Boolean, blobListingDetails As BlobListingDetails, maxResults As Nullable(Of Integer), currentToken As BlobContinuationToken, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of BlobResultSegment)

参数

useFlatBlobListing
Boolean

一个布尔值,指定是列出平面列表中的 Blob,还是按虚拟目录分层列出 Blob。

blobListingDetails
BlobListingDetails

BlobListingDetails 枚举,它描述要包含在列表中的项。

maxResults
Nullable<Int32>

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

currentToken
BlobContinuationToken

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

options
BlobRequestOptions

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

operationContext
OperationContext

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

返回

Task<TResult> 类型的一个 BlobResultSegment 对象。

属性

适用于

ListBlobsSegmentedAsync(Boolean, BlobListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext, CancellationToken)

启动异步操作以返回包含虚拟目录中 Blob 项集合的结果段。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.BlobResultSegment> ListBlobsSegmentedAsync (bool useFlatBlobListing, Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListBlobsSegmentedAsync : bool * Microsoft.Azure.Storage.Blob.BlobListingDetails * Nullable<int> * Microsoft.Azure.Storage.Blob.BlobContinuationToken * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.BlobResultSegment>
override this.ListBlobsSegmentedAsync : bool * Microsoft.Azure.Storage.Blob.BlobListingDetails * Nullable<int> * Microsoft.Azure.Storage.Blob.BlobContinuationToken * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.BlobResultSegment>
Public Overridable Function ListBlobsSegmentedAsync (useFlatBlobListing As Boolean, blobListingDetails As BlobListingDetails, maxResults As Nullable(Of Integer), currentToken As BlobContinuationToken, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of BlobResultSegment)

参数

useFlatBlobListing
Boolean

一个布尔值,指定是列出平面列表中的 Blob,还是按虚拟目录分层列出 Blob。

blobListingDetails
BlobListingDetails

BlobListingDetails 枚举,它描述要包含在列表中的项。

maxResults
Nullable<Int32>

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

currentToken
BlobContinuationToken

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

options
BlobRequestOptions

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

operationContext
OperationContext

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

cancellationToken
CancellationToken

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

返回

Task<TResult> 类型的一个 BlobResultSegment 对象。

属性

适用于