Share via


Core.ListStatusAsync Method

Definition

Lists the sub-directories or files contained in a directory

public static System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.Azure.DataLake.Store.DirectoryEntry>> ListStatusAsync (string path, string listAfter, string listBefore, int listSize, Microsoft.Azure.DataLake.Store.UserGroupRepresentation? userIdFormat, Microsoft.Azure.DataLake.Store.AdlsClient client, Microsoft.Azure.DataLake.Store.RequestOptions req, Microsoft.Azure.DataLake.Store.OperationResponse resp, System.Threading.CancellationToken cancelToken = default);
static member ListStatusAsync : string * string * string * int * Nullable<Microsoft.Azure.DataLake.Store.UserGroupRepresentation> * Microsoft.Azure.DataLake.Store.AdlsClient * Microsoft.Azure.DataLake.Store.RequestOptions * Microsoft.Azure.DataLake.Store.OperationResponse * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.Azure.DataLake.Store.DirectoryEntry>>
Public Shared Function ListStatusAsync (path As String, listAfter As String, listBefore As String, listSize As Integer, userIdFormat As Nullable(Of UserGroupRepresentation), client As AdlsClient, req As RequestOptions, resp As OperationResponse, Optional cancelToken As CancellationToken = Nothing) As Task(Of List(Of DirectoryEntry))

Parameters

path
String

Path of the directory

listAfter
String

Filename after which list of files should be obtained from server

listBefore
String

Filename till which list of files should be obtained from server

listSize
Int32

List size to obtain from server

userIdFormat
Nullable<UserGroupRepresentation>

Way the user or group object will be represented

client
AdlsClient

ADLS Client

req
RequestOptions

Options to change behavior of the Http request

resp
OperationResponse

Stores the response/ouput of the Http request

cancelToken
CancellationToken

CancellationToken to cancel the request

Returns

List of directoryentries

Applies to