Initiates an asynchronous operation that returns a result segment containing a collection of blob items in the container.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task<BlobResultSegment> ListBlobsSegmentedAsync( string prefix, bool useFlatBlobListing, BlobListingDetails blobListingDetails, Nullable<int> maxResults, BlobContinuationToken currentToken, BlobRequestOptions options, OperationContext operationContext )
public: [DoesServiceRequestAttribute] virtual Task<BlobResultSegment^>^ ListBlobsSegmentedAsync( String^ prefix, bool useFlatBlobListing, BlobListingDetails blobListingDetails, Nullable<int> maxResults, BlobContinuationToken^ currentToken, BlobRequestOptions^ options, OperationContext^ operationContext )
[<DoesServiceRequestAttribute>] abstract ListBlobsSegmentedAsync : prefix:string * useFlatBlobListing:bool * blobListingDetails:BlobListingDetails * maxResults:Nullable<int> * currentToken:BlobContinuationToken * options:BlobRequestOptions * operationContext:OperationContext -> Task<BlobResultSegment> [<DoesServiceRequestAttribute>] override ListBlobsSegmentedAsync : prefix:string * useFlatBlobListing:bool * blobListingDetails:BlobListingDetails * maxResults:Nullable<int> * currentToken:BlobContinuationToken * options:BlobRequestOptions * operationContext:OperationContext -> Task<BlobResultSegment>
<DoesServiceRequestAttribute> Public Overridable 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 Task(Of BlobResultSegment)
Parameters
- prefix
-
Type:
System.StringSystem::String^System.StringSystem.String
A string containing the blob name prefix.
- useFlatBlobListing
-
Type:
System.BooleanSystem::BooleanSystem.BooleanSystem.Boolean
A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory.
- blobListingDetails
-
Type:
Microsoft.WindowsAzure.Storage.Blob.BlobListingDetailsMicrosoft.WindowsAzure.Storage.Blob::BlobListingDetailsMicrosoft.WindowsAzure.Storage.Blob.BlobListingDetailsMicrosoft.WindowsAzure.Storage.Blob.BlobListingDetails
A BlobListingDetails enumeration describing which items to include in the listing.
- maxResults
-
Type:
System.Nullable<Int32>System::Nullable<Int32>System.Nullable<Int32>System.Nullable(Of Int32)
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
-
Type:
Microsoft.WindowsAzure.Storage.Blob.BlobContinuationTokenMicrosoft.WindowsAzure.Storage.Blob::BlobContinuationToken^Microsoft.WindowsAzure.Storage.Blob.BlobContinuationTokenMicrosoft.WindowsAzure.Storage.Blob.BlobContinuationToken
A continuation token returned by a previous listing operation.
- options
-
Type:
Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptionsMicrosoft.WindowsAzure.Storage.Blob::BlobRequestOptions^Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptionsMicrosoft.WindowsAzure.Storage.Blob.BlobRequestOptions
A BlobRequestOptions object that specifies additional options for the request.
- operationContext
-
Type:
Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage::OperationContext^Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage.OperationContext
An OperationContext object that represents the context for the current operation.
Return Value
Type: System.Threading.Tasks.Task<BlobResultSegment>System.Threading.Tasks::Task<BlobResultSegment^>^System.Threading.Tasks.Task<BlobResultSegment>System.Threading.Tasks.Task(Of BlobResultSegment)A Task<TResult><TResult><'TResult>(Of TResult) object that represents the asynchronous operation.
See Also
ListBlobsSegmentedAsync Overload
CloudBlobContainer Class
Microsoft.WindowsAzure.Storage.Blob Namespace