Share via


cloud_blob_client::list_blobs_segmented_async Method

Intitiates an asynchronous operation to return a result segment containing a collection of blob items in the container.

pplx::task<blob_result_segment> list_blobs_segmented_async(
   const utility::string_t& prefix,
   const continuation_token& token
) const;

WASTORAGE_API pplx::task<blob_result_segment> list_blobs_segmented_async(
   const utility::string_t& prefix,
   bool use_flat_blob_listing,
   blob_listing_details::values includes,
   int max_results,
   const continuation_token& token,
   const blob_request_options& options,
   operation_context context
) const;

Parameters

  • prefix
    The blob name prefix.
  • token
    A azure::storage::continuation_token returned by a previous listing operation.
  • use_flat_blob_listing
    Indicates whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory.
  • includes
    A azure::storage::blob_listing_details::values enumeration describing which items to include in the listing.
  • max_results
    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 0, the maximum possible number of results will be returned, up to 5000.
  • options
    A azure::storage::blob_request_options object that specifies additional options for the request.
  • context
    An azure::storage::operation_context object that represents the context for the current operation.

Return Value

A pplx::task object of type blob_result_segment that represents the current operation.

Requirements

Header: blob.h

Namespace: azure::storage

See Also

Reference

cloud_blob_client Class