你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CloudBlobClient.ListContainersSegmentedAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ListContainersSegmentedAsync(String, BlobContinuationToken, CancellationToken)
启动异步操作以返回包含容器集合的结果段。
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.ContainerResultSegment> ListContainersSegmentedAsync (string prefix, Microsoft.Azure.Storage.Blob.BlobContinuationToken continuationToken, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListContainersSegmentedAsync : string * Microsoft.Azure.Storage.Blob.BlobContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.ContainerResultSegment>
override this.ListContainersSegmentedAsync : string * Microsoft.Azure.Storage.Blob.BlobContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.ContainerResultSegment>
Public Overridable Function ListContainersSegmentedAsync (prefix As String, continuationToken As BlobContinuationToken, cancellationToken As CancellationToken) As Task(Of ContainerResultSegment)
参数
- prefix
- String
包含容器名称前缀的字符串。
- continuationToken
- BlobContinuationToken
由上一个 BlobContinuationToken 列表操作返回的 对象。
- cancellationToken
- CancellationToken
等待任务完成期间要观察的 CancellationToken。
返回
表示异步操作的 ContainerResultSegment 类型的 Task<TResult> 对象。
- 属性
适用于
ListContainersSegmentedAsync(BlobContinuationToken)
启动异步操作以返回包含容器集合的结果段。
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.ContainerResultSegment> ListContainersSegmentedAsync (Microsoft.Azure.Storage.Blob.BlobContinuationToken continuationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListContainersSegmentedAsync : Microsoft.Azure.Storage.Blob.BlobContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.ContainerResultSegment>
override this.ListContainersSegmentedAsync : Microsoft.Azure.Storage.Blob.BlobContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.ContainerResultSegment>
Public Overridable Function ListContainersSegmentedAsync (continuationToken As BlobContinuationToken) As Task(Of ContainerResultSegment)
参数
- continuationToken
- BlobContinuationToken
由上一个 BlobContinuationToken 列表操作返回的 对象。
返回
表示异步操作的 ContainerResultSegment 类型的 Task<TResult> 对象。
- 属性
适用于
ListContainersSegmentedAsync(BlobContinuationToken, CancellationToken)
启动异步操作以返回包含容器集合的结果段。
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.ContainerResultSegment> ListContainersSegmentedAsync (Microsoft.Azure.Storage.Blob.BlobContinuationToken continuationToken, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListContainersSegmentedAsync : Microsoft.Azure.Storage.Blob.BlobContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.ContainerResultSegment>
override this.ListContainersSegmentedAsync : Microsoft.Azure.Storage.Blob.BlobContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.ContainerResultSegment>
Public Overridable Function ListContainersSegmentedAsync (continuationToken As BlobContinuationToken, cancellationToken As CancellationToken) As Task(Of ContainerResultSegment)
参数
- continuationToken
- BlobContinuationToken
由上一个 BlobContinuationToken 列表操作返回的 对象。
- cancellationToken
- CancellationToken
等待任务完成期间要观察的 CancellationToken。
返回
表示异步操作的 ContainerResultSegment 类型的 Task<TResult> 对象。
- 属性
适用于
ListContainersSegmentedAsync(String, BlobContinuationToken)
启动异步操作以返回包含容器集合的结果段。
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.ContainerResultSegment> ListContainersSegmentedAsync (string prefix, Microsoft.Azure.Storage.Blob.BlobContinuationToken continuationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListContainersSegmentedAsync : string * Microsoft.Azure.Storage.Blob.BlobContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.ContainerResultSegment>
override this.ListContainersSegmentedAsync : string * Microsoft.Azure.Storage.Blob.BlobContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.ContainerResultSegment>
Public Overridable Function ListContainersSegmentedAsync (prefix As String, continuationToken As BlobContinuationToken) As Task(Of ContainerResultSegment)
参数
- prefix
- String
包含容器名称前缀的字符串。
- continuationToken
- BlobContinuationToken
由上一个 BlobContinuationToken 列表操作返回的 对象。
返回
表示异步操作的 ContainerResultSegment 类型的 Task<TResult> 对象。
- 属性
适用于
ListContainersSegmentedAsync(String, ContainerListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext)
启动异步操作以返回包含容器集合的结果段。
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.ContainerResultSegment> ListContainersSegmentedAsync (string prefix, Microsoft.Azure.Storage.Blob.ContainerListingDetails detailsIncluded, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken continuationToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListContainersSegmentedAsync : string * Microsoft.Azure.Storage.Blob.ContainerListingDetails * Nullable<int> * Microsoft.Azure.Storage.Blob.BlobContinuationToken * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.ContainerResultSegment>
override this.ListContainersSegmentedAsync : string * Microsoft.Azure.Storage.Blob.ContainerListingDetails * Nullable<int> * Microsoft.Azure.Storage.Blob.BlobContinuationToken * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.ContainerResultSegment>
Public Overridable Function ListContainersSegmentedAsync (prefix As String, detailsIncluded As ContainerListingDetails, maxResults As Nullable(Of Integer), continuationToken As BlobContinuationToken, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of ContainerResultSegment)
参数
- prefix
- String
包含容器名称前缀的字符串。
- detailsIncluded
- ContainerListingDetails
一个 ContainerListingDetails 枚举值,该值指示是否返回包含列表的容器元数据。
- continuationToken
- BlobContinuationToken
由上一个 BlobContinuationToken 列表操作返回的 对象。
- options
- BlobRequestOptions
一个 BlobRequestOptions 对象,它指定请求的其他选项。
- operationContext
- OperationContext
一个 OperationContext 对象,它一个表示当前操作的上下文。
返回
表示异步操作的 ContainerResultSegment 类型的 Task<TResult> 对象。
- 属性
适用于
ListContainersSegmentedAsync(String, ContainerListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext, CancellationToken)
启动异步操作以返回包含容器集合的结果段。
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Blob.ContainerResultSegment> ListContainersSegmentedAsync (string prefix, Microsoft.Azure.Storage.Blob.ContainerListingDetails detailsIncluded, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken continuationToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListContainersSegmentedAsync : string * Microsoft.Azure.Storage.Blob.ContainerListingDetails * 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.ContainerResultSegment>
override this.ListContainersSegmentedAsync : string * Microsoft.Azure.Storage.Blob.ContainerListingDetails * 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.ContainerResultSegment>
Public Overridable Function ListContainersSegmentedAsync (prefix As String, detailsIncluded As ContainerListingDetails, maxResults As Nullable(Of Integer), continuationToken As BlobContinuationToken, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of ContainerResultSegment)
参数
- prefix
- String
包含容器名称前缀的字符串。
- detailsIncluded
- ContainerListingDetails
一个 ContainerListingDetails 枚举值,该值指示是否返回包含列表的容器元数据。
- continuationToken
- BlobContinuationToken
由上一个 BlobContinuationToken 列表操作返回的 对象。
- options
- BlobRequestOptions
一个 BlobRequestOptions 对象,它指定请求的其他选项。
- operationContext
- OperationContext
一个 OperationContext 对象,它一个表示当前操作的上下文。
- cancellationToken
- CancellationToken
等待任务完成期间要观察的 CancellationToken。
返回
表示异步操作的 ContainerResultSegment 类型的 Task<TResult> 对象。
- 属性