DataLakeFileClient.ReadStreaming 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
ReadStreaming() |
The ReadStreaming() operation downloads a file from the service, including its metadata and properties. For more information, see Get Blob. |
ReadStreaming(CancellationToken) |
The ReadStreaming(CancellationToken) operation downloads a file from the service, including its metadata and properties. For more information, see Get Blob. |
ReadStreaming(DataLakeFileReadOptions, CancellationToken) |
The ReadStreaming(DataLakeFileReadOptions, CancellationToken) operation downloads a file from the service, including its metadata and properties. For more information, see Get Blob. |
ReadStreaming()
- Source:
- DataLakeFileClient.cs
- Source:
- DataLakeFileClient.cs
The ReadStreaming() operation downloads a file from the service, including its metadata and properties.
For more information, see Get Blob.
public virtual Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult> ReadStreaming ();
abstract member ReadStreaming : unit -> Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult>
override this.ReadStreaming : unit -> Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult>
Public Overridable Function ReadStreaming () As 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.
Applies to
ReadStreaming(CancellationToken)
- Source:
- DataLakeFileClient.cs
- Source:
- DataLakeFileClient.cs
The ReadStreaming(CancellationToken) operation downloads a file from the service, including its metadata and properties.
For more information, see Get Blob.
public virtual Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult> ReadStreaming (System.Threading.CancellationToken cancellationToken);
abstract member ReadStreaming : System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult>
override this.ReadStreaming : System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult>
Public Overridable Function ReadStreaming (cancellationToken As CancellationToken) As 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
ReadStreaming(DataLakeFileReadOptions, CancellationToken)
- Source:
- DataLakeFileClient.cs
- Source:
- DataLakeFileClient.cs
The ReadStreaming(DataLakeFileReadOptions, CancellationToken) operation downloads a file from the service, including its metadata and properties.
For more information, see Get Blob.
public virtual Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult> ReadStreaming (Azure.Storage.Files.DataLake.Models.DataLakeFileReadOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member ReadStreaming : Azure.Storage.Files.DataLake.Models.DataLakeFileReadOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult>
override this.ReadStreaming : Azure.Storage.Files.DataLake.Models.DataLakeFileReadOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult>
Public Overridable Function ReadStreaming (options As DataLakeFileReadOptions, Optional cancellationToken As CancellationToken = Nothing) As 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
Azure SDK for .NET