CloudBlobContainer.ListBlobsSegmentedAsync Method (String, Boolean, BlobListingDetails, Nullable, BlobContinuationToken, BlobRequestOptions, OperationContext)

Windows Runtime Azure Storage Client Library

Returns a result segment containing a collection of blob items in the container.

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

Usage

Visual Basic
Dim instance As CloudBlobContainer
Dim prefix As String
Dim useFlatBlobListing As Boolean
Dim blobListingDetails As BlobListingDetails
Dim maxResults As Nullable(Of Integer)
Dim currentToken As BlobContinuationToken
Dim options As BlobRequestOptions
Dim operationContext As OperationContext
Dim returnValue As IAsyncOperation(Of BlobResultSegment)

returnValue = instance.ListBlobsSegmentedAsync(prefix, useFlatBlobListing, blobListingDetails, maxResults, currentToken, options, operationContext)

Syntax

Visual Basic
Public Function ListBlobsSegmentedAsync ( _
	prefix As String, _
	useFlatBlobListing As Boolean, _
	blobListingDetails As BlobListingDetails, _
	maxResults As Nullable(Of Integer), _
	currentToken As BlobContinuationToken, _
	options As BlobRequestOptions, _
	operationContext As OperationContext _
) As IAsyncOperation(Of BlobResultSegment)
C#
public IAsyncOperation<BlobResultSegment> ListBlobsSegmentedAsync (
	string prefix,
	bool useFlatBlobListing,
	BlobListingDetails blobListingDetails,
	Nullable<int> maxResults,
	BlobContinuationToken currentToken,
	BlobRequestOptions options,
	OperationContext operationContext
)
C++
public:
IAsyncOperation<BlobResultSegment^>^ ListBlobsSegmentedAsync (
	String^ prefix, 
	bool useFlatBlobListing, 
	BlobListingDetails blobListingDetails, 
	Nullable<int> maxResults, 
	BlobContinuationToken^ currentToken, 
	BlobRequestOptions^ options, 
	OperationContext^ operationContext
)
J#
public IAsyncOperation<BlobResultSegment> ListBlobsSegmentedAsync (
	String prefix, 
	boolean useFlatBlobListing, 
	BlobListingDetails blobListingDetails, 
	Nullable<int> maxResults, 
	BlobContinuationToken currentToken, 
	BlobRequestOptions options, 
	OperationContext operationContext
)
JScript
public function ListBlobsSegmentedAsync (
	prefix : String, 
	useFlatBlobListing : boolean, 
	blobListingDetails : BlobListingDetails, 
	maxResults : Nullable<int>, 
	currentToken : BlobContinuationToken, 
	options : BlobRequestOptions, 
	operationContext : OperationContext
) : IAsyncOperation<BlobResultSegment>

Parameters

prefix

The container name prefix.

useFlatBlobListing

Whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory.

blobListingDetails

A BlobListingDetails enumeration describing which items to include in the listing.

maxResults

A non-negative integer value that indicates the maximum number of results to be returned at a time, 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 BlobContinuationToken token returned by a previous listing operation.

options

A BlobRequestOptions object that specifies additional options for the request.

operationContext

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

Return Value

A result segment containing objects that implement IListBlobItem.

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