DirectoryHttpWebRequestFactory.List Method

Definition

Overloads

List(Uri, Nullable<Int32>, FileListingContext, Boolean, OperationContext)

Generates a web request to return a listing of all files and subdirectories in the directory.

List(Uri, Nullable<Int32>, FileListingContext, Nullable<DateTimeOffset>, Boolean, OperationContext)

Generates a web request to return a listing of all files and subdirectories in the directory.

List(Uri, Nullable<Int32>, FileListingContext, Boolean, OperationContext)

Generates a web request to return a listing of all files and subdirectories in the directory.

public static System.Net.HttpWebRequest List (Uri uri, Nullable<int> timeout, Microsoft.WindowsAzure.Storage.File.Protocol.FileListingContext listingContext, bool useVersionHeader, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
static member List : Uri * Nullable<int> * Microsoft.WindowsAzure.Storage.File.Protocol.FileListingContext * bool * Microsoft.WindowsAzure.Storage.OperationContext -> System.Net.HttpWebRequest

Parameters

uri
Uri

The absolute URI to the share.

timeout
Nullable<Int32>

The server timeout interval.

listingContext
FileListingContext

A set of parameters for the listing operation.

useVersionHeader
Boolean

A boolean value indicating whether to set the x-ms-version HTTP header.

operationContext
OperationContext

An OperationContext object for tracking the current operation.

Returns

HttpWebRequest

A HttpWebRequest object.

Applies to

Product Introduced

List(Uri, Nullable<Int32>, FileListingContext, Nullable<DateTimeOffset>, Boolean, OperationContext)

Generates a web request to return a listing of all files and subdirectories in the directory.

public static System.Net.HttpWebRequest List (Uri uri, Nullable<int> timeout, Microsoft.WindowsAzure.Storage.File.Protocol.FileListingContext listingContext, Nullable<DateTimeOffset> shareSnapshot, bool useVersionHeader, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
static member List : Uri * Nullable<int> * Microsoft.WindowsAzure.Storage.File.Protocol.FileListingContext * Nullable<DateTimeOffset> * bool * Microsoft.WindowsAzure.Storage.OperationContext -> System.Net.HttpWebRequest

Parameters

uri
Uri

The absolute URI to the share.

timeout
Nullable<Int32>

The server timeout interval.

listingContext
FileListingContext

A set of parameters for the listing operation.

shareSnapshot
Nullable<DateTimeOffset>

A DateTimeOffset specifying the share snapshot timestamp, if the share is a snapshot.

useVersionHeader
Boolean

A flag indicating whether to set the x-ms-version HTTP header.

operationContext
OperationContext

An OperationContext object for tracking the current operation.

Returns

HttpWebRequest

A web request to use to perform the operation.

Applies to

Product Introduced