Share via


IStorageFileManagement.EnumerateSharesAsync Method

Definition

Overloads

EnumerateSharesAsync(String, ShareListingDetails, Action<CloudFileShare>, FileRequestOptions, OperationContext, CancellationToken)
EnumerateSharesAsync(String, ShareListingDetails, Action<CloudFileShare>, FileRequestOptions, OperationContext, CancellationToken)

Enumerates the shares for a given prefix.

EnumerateSharesAsync(String, ShareListingDetails, Action<CloudFileShare>, FileRequestOptions, OperationContext, CancellationToken)

public System.Threading.Tasks.Task EnumerateSharesAsync (string prefix, Microsoft.WindowsAzure.Storage.File.ShareListingDetails detailsIncluded, Action<Microsoft.WindowsAzure.Storage.File.CloudFileShare> enumerationAction, Microsoft.WindowsAzure.Storage.File.FileRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken token);
abstract member EnumerateSharesAsync : string * Microsoft.WindowsAzure.Storage.File.ShareListingDetails * Action<Microsoft.WindowsAzure.Storage.File.CloudFileShare> * Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function EnumerateSharesAsync (prefix As String, detailsIncluded As ShareListingDetails, enumerationAction As Action(Of CloudFileShare), options As FileRequestOptions, operationContext As OperationContext, token As CancellationToken) As Task

Parameters

prefix
String
detailsIncluded
ShareListingDetails
enumerationAction
Action<CloudFileShare>
operationContext
OperationContext

Returns

Applies to

EnumerateSharesAsync(String, ShareListingDetails, Action<CloudFileShare>, FileRequestOptions, OperationContext, CancellationToken)

Enumerates the shares for a given prefix.

public System.Threading.Tasks.Task EnumerateSharesAsync (string prefix, Microsoft.Azure.Storage.File.ShareListingDetails detailsIncluded, Action<Microsoft.Azure.Storage.File.CloudFileShare> enumerationAction, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken token);
abstract member EnumerateSharesAsync : string * Microsoft.Azure.Storage.File.ShareListingDetails * Action<Microsoft.Azure.Storage.File.CloudFileShare> * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function EnumerateSharesAsync (prefix As String, detailsIncluded As ShareListingDetails, enumerationAction As Action(Of CloudFileShare), options As FileRequestOptions, operationContext As OperationContext, token As CancellationToken) As Task

Parameters

prefix
String

Indicating the prefix.

detailsIncluded
ShareListingDetails

A value that indicates whether to return share metadata with the listing.

enumerationAction
Action<CloudFileShare>

Indicating the action for enumerated items.

options
FileRequestOptions

A Microsoft.Azure.Storage.File.FileRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

A Microsoft.WindowsAzure.Storage.OperationContext object that represents the context for the current operation.

token
CancellationToken

Indicating the cancellation token.

Returns

A System.Threading.Tasks.Task object that represents the current operation.

Applies to