C#C++F#VB
CloudFileClient.::..ListSharesSegmentedAsync Method (String, FileContinuationToken, CancellationToken)(String^, FileContinuationToken^, CancellationToken)(String, FileContinuationToken, CancellationToken)(String, FileContinuationToken, CancellationToken)
Returns a task that performs an asynchronous request to return a result segment containing a collection of shares whose names begin with the specified prefix.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task<ShareResultSegment> ListSharesSegmentedAsync( string prefix, FileContinuationToken currentToken, CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task<ShareResultSegment^>^ ListSharesSegmentedAsync( String^ prefix, FileContinuationToken^ currentToken, CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract ListSharesSegmentedAsync : prefix:string * currentToken:FileContinuationToken * cancellationToken:CancellationToken -> Task<ShareResultSegment> [<DoesServiceRequestAttribute>] override ListSharesSegmentedAsync : prefix:string * currentToken:FileContinuationToken * cancellationToken:CancellationToken -> Task<ShareResultSegment>
<DoesServiceRequestAttribute> Public Overridable Function ListSharesSegmentedAsync ( prefix As String, currentToken As FileContinuationToken, cancellationToken As CancellationToken ) As Task(Of ShareResultSegment)
Parameters
- prefix
-
Type:
System.StringSystem::String^System.StringSystem.String
The share name prefix.
- currentToken
-
Type:
Microsoft.WindowsAzure.Storage.File.FileContinuationTokenMicrosoft.WindowsAzure.Storage.File::FileContinuationToken^Microsoft.WindowsAzure.Storage.File.FileContinuationTokenMicrosoft.WindowsAzure.Storage.File.FileContinuationToken
A continuation token 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<ShareResultSegment>System.Threading.Tasks::Task<ShareResultSegment^>^System.Threading.Tasks.Task<ShareResultSegment>System.Threading.Tasks.Task(Of ShareResultSegment)A Task<TResult><TResult><'TResult>(Of TResult) object that represents the current operation.
See Also
ListSharesSegmentedAsync Overload
CloudFileClient Class
Microsoft.WindowsAzure.Storage.File Namespace