Share via


CloudBlobClient.ListContainersSegmentedAsync Method

Definition

Overloads

ListContainersSegmentedAsync(String, BlobContinuationToken, CancellationToken)

Initiates an asynchronous operation to return a result segment containing a collection of containers.

ListContainersSegmentedAsync(BlobContinuationToken)

Initiates an asynchronous operation to return a result segment containing a collection of containers.

ListContainersSegmentedAsync(BlobContinuationToken, CancellationToken)

Initiates an asynchronous operation to return a result segment containing a collection of containers.

ListContainersSegmentedAsync(String, BlobContinuationToken)

Initiates an asynchronous operation to return a result segment containing a collection of containers.

ListContainersSegmentedAsync(String, ContainerListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation to return a result segment containing a collection of containers.

ListContainersSegmentedAsync(String, ContainerListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to return a result segment containing a collection of containers.

ListContainersSegmentedAsync(String, BlobContinuationToken, CancellationToken)

Initiates an asynchronous operation to return a result segment containing a collection of containers.

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

Parameters

prefix
String

A string containing the container name prefix.

continuationToken
BlobContinuationToken

A BlobContinuationToken object returned by a previous listing operation.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task<TResult> object of type ContainerResultSegment that represents the asynchronous operation.

Attributes

Applies to

ListContainersSegmentedAsync(BlobContinuationToken)

Initiates an asynchronous operation to return a result segment containing a collection of containers.

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

Parameters

continuationToken
BlobContinuationToken

A BlobContinuationToken object returned by a previous listing operation.

Returns

A Task<TResult> object of type ContainerResultSegment that represents the asynchronous operation.

Attributes

Applies to

ListContainersSegmentedAsync(BlobContinuationToken, CancellationToken)

Initiates an asynchronous operation to return a result segment containing a collection of containers.

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

Parameters

continuationToken
BlobContinuationToken

A BlobContinuationToken object returned by a previous listing operation.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task<TResult> object of type ContainerResultSegment that represents the asynchronous operation.

Attributes

Applies to

ListContainersSegmentedAsync(String, BlobContinuationToken)

Initiates an asynchronous operation to return a result segment containing a collection of containers.

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

Parameters

prefix
String

A string containing the container name prefix.

continuationToken
BlobContinuationToken

A BlobContinuationToken object returned by a previous listing operation.

Returns

A Task<TResult> object of type ContainerResultSegment that represents the asynchronous operation.

Attributes

Applies to

ListContainersSegmentedAsync(String, ContainerListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation to return a result segment containing a collection of containers.

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

Parameters

prefix
String

A string containing the container name prefix.

detailsIncluded
ContainerListingDetails

A ContainerListingDetails enumeration value that indicates whether to return container metadata with the listing.

maxResults
Nullable<Int32>

A non-negative integer value that indicates the maximum number of results to be returned in the result segment, 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.

continuationToken
BlobContinuationToken

A BlobContinuationToken object returned by a previous listing operation.

options
BlobRequestOptions

A BlobRequestOptions 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 of type ContainerResultSegment that represents the asynchronous operation.

Attributes

Applies to

ListContainersSegmentedAsync(String, ContainerListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to return a result segment containing a collection of containers.

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

Parameters

prefix
String

A string containing the container name prefix.

detailsIncluded
ContainerListingDetails

A ContainerListingDetails enumeration value that indicates whether to return container metadata with the listing.

maxResults
Nullable<Int32>

A non-negative integer value that indicates the maximum number of results to be returned in the result segment, 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.

continuationToken
BlobContinuationToken

A BlobContinuationToken object returned by a previous listing operation.

options
BlobRequestOptions

A BlobRequestOptions 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 of type ContainerResultSegment that represents the asynchronous operation.

Attributes

Applies to