C#
C++
F#
VB
CloudBlobClient.::..ListContainersSegmentedAsync Method (String, BlobContinuationToken, CancellationToken)(String^, BlobContinuationToken^, CancellationToken)(String, BlobContinuationToken, CancellationToken)(String, BlobContinuationToken, CancellationToken)
Initiates an asynchronous operation to return a result segment containing a collection of containers.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task<ContainerResultSegment> ListContainersSegmentedAsync( string prefix, BlobContinuationToken continuationToken, CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task<ContainerResultSegment^>^ ListContainersSegmentedAsync( String^ prefix, BlobContinuationToken^ continuationToken, CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract ListContainersSegmentedAsync : prefix:string * continuationToken:BlobContinuationToken * cancellationToken:CancellationToken -> Task<ContainerResultSegment> [<DoesServiceRequestAttribute>] override ListContainersSegmentedAsync : prefix:string * continuationToken:BlobContinuationToken * cancellationToken:CancellationToken -> Task<ContainerResultSegment>
<DoesServiceRequestAttribute> Public Overridable Function ListContainersSegmentedAsync ( prefix As String, continuationToken As BlobContinuationToken, cancellationToken As CancellationToken ) As Task(Of ContainerResultSegment)
Parameters
- prefix
-
Type:
System.StringSystem::String^System.StringSystem.String
A string containing the container name prefix.
- continuationToken
-
Type:
Microsoft.WindowsAzure.Storage.Blob.BlobContinuationTokenMicrosoft.WindowsAzure.Storage.Blob::BlobContinuationToken^Microsoft.WindowsAzure.Storage.Blob.BlobContinuationTokenMicrosoft.WindowsAzure.Storage.Blob.BlobContinuationToken
A BlobContinuationToken object returned by a previous listing operation.
- cancellationToken
-
Type:
System.Threading.CancellationTokenSystem.Threading::CancellationTokenSystem.Threading.CancellationTokenSystem.Threading.CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Return Value
Type: System.Threading.Tasks.Task<ContainerResultSegment>System.Threading.Tasks::Task<ContainerResultSegment^>^System.Threading.Tasks.Task<ContainerResultSegment>System.Threading.Tasks.Task(Of ContainerResultSegment)A Task<TResult><TResult><'TResult>(Of TResult) object of type ContainerResultSegment that represents the asynchronous operation.
See Also
ListContainersSegmentedAsync Overload
CloudBlobClient Class
Microsoft.WindowsAzure.Storage.Blob Namespace