CloudBlobClient.ListContainersSegmentedAsync Method (String, ContainerListingDetails, Nullable, BlobContinuationToken, BlobRequestOptions, OperationContext)

Windows Runtime Azure Storage Client Library

Returns a result segment containing a collection of containers whose names begin with the specified prefix.

Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim instance As CloudBlobClient
Dim prefix As String
Dim detailsIncluded As ContainerListingDetails
Dim maxResults As Nullable(Of Integer)
Dim currentToken As BlobContinuationToken
Dim options As BlobRequestOptions
Dim operationContext As OperationContext
Dim returnValue As IAsyncOperation(Of ContainerResultSegment)

returnValue = instance.ListContainersSegmentedAsync(prefix, detailsIncluded, maxResults, currentToken, options, operationContext)

Syntax

Visual Basic
Public Function ListContainersSegmentedAsync ( _
	prefix As String, _
	detailsIncluded As ContainerListingDetails, _
	maxResults As Nullable(Of Integer), _
	currentToken As BlobContinuationToken, _
	options As BlobRequestOptions, _
	operationContext As OperationContext _
) As IAsyncOperation(Of ContainerResultSegment)
C#
public IAsyncOperation<ContainerResultSegment> ListContainersSegmentedAsync (
	string prefix,
	ContainerListingDetails detailsIncluded,
	Nullable<int> maxResults,
	BlobContinuationToken currentToken,
	BlobRequestOptions options,
	OperationContext operationContext
)
C++
public:
IAsyncOperation<ContainerResultSegment^>^ ListContainersSegmentedAsync (
	String^ prefix, 
	ContainerListingDetails detailsIncluded, 
	Nullable<int> maxResults, 
	BlobContinuationToken^ currentToken, 
	BlobRequestOptions^ options, 
	OperationContext^ operationContext
)
J#
public IAsyncOperation<ContainerResultSegment> ListContainersSegmentedAsync (
	String prefix, 
	ContainerListingDetails detailsIncluded, 
	Nullable<int> maxResults, 
	BlobContinuationToken currentToken, 
	BlobRequestOptions options, 
	OperationContext operationContext
)
JScript
public function ListContainersSegmentedAsync (
	prefix : String, 
	detailsIncluded : ContainerListingDetails, 
	maxResults : Nullable<int>, 
	currentToken : BlobContinuationToken, 
	options : BlobRequestOptions, 
	operationContext : OperationContext
) : IAsyncOperation<ContainerResultSegment>

Parameters

prefix

The container name prefix.

detailsIncluded

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

maxResults

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.

currentToken

A continuation token returned by a previous listing operation.

options

A BlobRequestOptions object that specifies execution options, such as retry policy and timeout settings, for the operation.

operationContext

An OperationContext object that represents the context for the current operation.

Return Value

A result segment of containers.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also