Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DataLakeFileClient.ReadStreamingAsync Method

Definition

Namespace:
Azure.Storage.Files.DataLake
Assembly:
Azure.Storage.Files.DataLake.dll
Package:
Azure.Storage.Files.DataLake v12.27.0
Package:
Azure.Storage.Files.DataLake v12.27.0-beta.1

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.

Overloads

Name Description
ReadStreamingAsync()

The ReadStreamingAsync() operation downloads a file from the service, including its metadata and properties.

For more information, see Get Blob.

ReadStreamingAsync(CancellationToken)

The ReadStreamingAsync(CancellationToken) operation downloads a file from the service, including its metadata and properties.

For more information, see Get Blob.

ReadStreamingAsync(DataLakeFileReadOptions, CancellationToken)

The ReadStreamingAsync(DataLakeFileReadOptions, CancellationToken) operation downloads a file from the service, including its metadata and properties.

For more information, see Get Blob.

ReadStreamingAsync()

Source:
DataLakeFileClient.cs
Source:
DataLakeFileClient.cs

The ReadStreamingAsync() operation downloads a file from the service, including its metadata and properties.

For more information, see Get Blob.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult>> ReadStreamingAsync();
abstract member ReadStreamingAsync : unit -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult>>
override this.ReadStreamingAsync : unit -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult>>
Public Overridable Function ReadStreamingAsync () As Task(Of Response(Of DataLakeFileReadStreamingResult))

Returns

A Response<T> describing the downloaded file. Content contains the file's data.

Remarks

A RequestFailedException will be thrown if a failure occurs. If multiple failures occur, an AggregateException will be thrown, containing each failure instance.

Applies to

ReadStreamingAsync(CancellationToken)

Source:
DataLakeFileClient.cs
Source:
DataLakeFileClient.cs

The ReadStreamingAsync(CancellationToken) operation downloads a file from the service, including its metadata and properties.

For more information, see Get Blob.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult>> ReadStreamingAsync(System.Threading.CancellationToken cancellationToken);
abstract member ReadStreamingAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult>>
override this.ReadStreamingAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult>>
Public Overridable Function ReadStreamingAsync (cancellationToken As CancellationToken) As Task(Of Response(Of DataLakeFileReadStreamingResult))

Parameters

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be cancelled.

Returns

A Response<T> describing the downloaded file. Content contains the file's data.

Remarks

A RequestFailedException will be thrown if a failure occurs. If multiple failures occur, an AggregateException will be thrown, containing each failure instance.

Applies to

ReadStreamingAsync(DataLakeFileReadOptions, CancellationToken)

Source:
DataLakeFileClient.cs
Source:
DataLakeFileClient.cs

The ReadStreamingAsync(DataLakeFileReadOptions, CancellationToken) operation downloads a file from the service, including its metadata and properties.

For more information, see Get Blob.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult>> ReadStreamingAsync(Azure.Storage.Files.DataLake.Models.DataLakeFileReadOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member ReadStreamingAsync : Azure.Storage.Files.DataLake.Models.DataLakeFileReadOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult>>
override this.ReadStreamingAsync : Azure.Storage.Files.DataLake.Models.DataLakeFileReadOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult>>
Public Overridable Function ReadStreamingAsync (options As DataLakeFileReadOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataLakeFileReadStreamingResult))

Parameters

options
DataLakeFileReadOptions

Optional parameters.

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be cancelled.

Returns

A Response<T> describing the downloaded file. Content contains the file's data.

Remarks

A RequestFailedException will be thrown if a failure occurs. If multiple failures occur, an AggregateException will be thrown, containing each failure instance.

Applies to


Feedback

Was this page helpful?