MockAdlsClient.EnumerateDirectory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a list of entries contained under the given directory
public override System.Collections.Generic.IEnumerable<Microsoft.Azure.DataLake.Store.DirectoryEntry> EnumerateDirectory(string path, Microsoft.Azure.DataLake.Store.UserGroupRepresentation userIdFormat = Microsoft.Azure.DataLake.Store.UserGroupRepresentation.ObjectID, System.Threading.CancellationToken cancelToken = default);
override this.EnumerateDirectory : string * Microsoft.Azure.DataLake.Store.UserGroupRepresentation * System.Threading.CancellationToken -> seq<Microsoft.Azure.DataLake.Store.DirectoryEntry>
Public Overrides Function EnumerateDirectory (path As String, Optional userIdFormat As UserGroupRepresentation = Microsoft.Azure.DataLake.Store.UserGroupRepresentation.ObjectID, Optional cancelToken As CancellationToken = Nothing) As IEnumerable(Of DirectoryEntry)
Parameters
- path
- String
Path of directory or file
- userIdFormat
- UserGroupRepresentation
User or group Id format
- cancelToken
- CancellationToken
Cancellation token