DataLakeFileClient.ReadStreamingAsync 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.
Overloads
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() |
The ReadStreamingAsync() operation downloads a file from the service, including its metadata and properties. For more information, see Get Blob. |
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.
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.
Applies to
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.