CloudBlob.DownloadRangeToStreamAsync CloudBlob.DownloadRangeToStreamAsync CloudBlob.DownloadRangeToStreamAsync CloudBlob.DownloadRangeToStreamAsync Method

Definition

Overloads

DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>)

Initiates an asynchronous operation to download a range of bytes from a blob to a stream.

DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, CancellationToken) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, CancellationToken) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, CancellationToken)

Initiates an asynchronous operation to download a range of bytes from a blob to a stream.

DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation to download a range of bytes from a blob to a stream.

DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to download a range of bytes from a blob to a stream.

DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Initiates an asynchronous operation to download a range of bytes from a blob to a stream.

DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>)

Initiates an asynchronous operation to download a range of bytes from a blob to a stream.

public:
 virtual System::Threading::Tasks::Task ^ DownloadRangeToStreamAsync(System::IO::Stream ^ target, Nullable<long> offset, Nullable<long> length);
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DownloadRangeToStreamAsync (System.IO.Stream target, Nullable<long> offset, Nullable<long> length);
abstract member DownloadRangeToStreamAsync : System.IO.Stream * Nullable<int64> * Nullable<int64> -> System.Threading.Tasks.Task
override this.DownloadRangeToStreamAsync : System.IO.Stream * Nullable<int64> * Nullable<int64> -> System.Threading.Tasks.Task
Public Overridable Function DownloadRangeToStreamAsync (target As Stream, offset As Nullable(Of Long), length As Nullable(Of Long)) As Task
Parameters
target
Stream Stream Stream Stream

A Stream object representing the target stream.

offset
Nullable<Int64>

The offset at which to begin downloading the blob, in bytes.

length
Nullable<Int64>

The length of the data to download from the blob, in bytes.

Returns

A Task object that represents the asynchronous operation.

DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, CancellationToken) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, CancellationToken) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, CancellationToken)

Initiates an asynchronous operation to download a range of bytes from a blob to a stream.

public:
 virtual System::Threading::Tasks::Task ^ DownloadRangeToStreamAsync(System::IO::Stream ^ target, Nullable<long> offset, Nullable<long> length, System::Threading::CancellationToken cancellationToken);
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DownloadRangeToStreamAsync (System.IO.Stream target, Nullable<long> offset, Nullable<long> length, System.Threading.CancellationToken cancellationToken);
abstract member DownloadRangeToStreamAsync : System.IO.Stream * Nullable<int64> * Nullable<int64> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DownloadRangeToStreamAsync : System.IO.Stream * Nullable<int64> * Nullable<int64> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
target
Stream Stream Stream Stream

A Stream object representing the target stream.

offset
Nullable<Int64>

The offset at which to begin downloading the blob, in bytes.

length
Nullable<Int64>

The length of the data to download from the blob, in bytes.

cancellationToken
CancellationToken CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation to download a range of bytes from a blob to a stream.

public:
 virtual System::Threading::Tasks::Task ^ DownloadRangeToStreamAsync(System::IO::Stream ^ target, Nullable<long> offset, Nullable<long> length, Microsoft::WindowsAzure::Storage::AccessCondition ^ accessCondition, Microsoft::WindowsAzure::Storage::Blob::BlobRequestOptions ^ options, Microsoft::WindowsAzure::Storage::OperationContext ^ operationContext);
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DownloadRangeToStreamAsync (System.IO.Stream target, Nullable<long> offset, Nullable<long> length, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
abstract member DownloadRangeToStreamAsync : System.IO.Stream * Nullable<int64> * Nullable<int64> * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.DownloadRangeToStreamAsync : System.IO.Stream * Nullable<int64> * Nullable<int64> * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task
Parameters
target
Stream Stream Stream Stream

A Stream object representing the target stream.

offset
Nullable<Int64>

The offset at which to begin downloading the blob, in bytes.

length
Nullable<Int64>

The length of the data to download from the blob, in bytes.

accessCondition
AccessCondition AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

Returns

A Task object that represents the asynchronous operation.

DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to download a range of bytes from a blob to a stream.

public:
 virtual System::Threading::Tasks::Task ^ DownloadRangeToStreamAsync(System::IO::Stream ^ target, Nullable<long> offset, Nullable<long> length, Microsoft::WindowsAzure::Storage::AccessCondition ^ accessCondition, Microsoft::WindowsAzure::Storage::Blob::BlobRequestOptions ^ options, Microsoft::WindowsAzure::Storage::OperationContext ^ operationContext, System::Threading::CancellationToken cancellationToken);
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DownloadRangeToStreamAsync (System.IO.Stream target, Nullable<long> offset, Nullable<long> length, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member DownloadRangeToStreamAsync : System.IO.Stream * Nullable<int64> * Nullable<int64> * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DownloadRangeToStreamAsync : System.IO.Stream * Nullable<int64> * Nullable<int64> * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
target
Stream Stream Stream Stream

A Stream object representing the target stream.

offset
Nullable<Int64>

The offset at which to begin downloading the blob, in bytes.

length
Nullable<Int64>

The length of the data to download from the blob, in bytes.

accessCondition
AccessCondition AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

cancellationToken
CancellationToken CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken) DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Initiates an asynchronous operation to download a range of bytes from a blob to a stream.

public:
 virtual System::Threading::Tasks::Task ^ DownloadRangeToStreamAsync(System::IO::Stream ^ target, Nullable<long> offset, Nullable<long> length, Microsoft::WindowsAzure::Storage::AccessCondition ^ accessCondition, Microsoft::WindowsAzure::Storage::Blob::BlobRequestOptions ^ options, Microsoft::WindowsAzure::Storage::OperationContext ^ operationContext, IProgress<Microsoft::WindowsAzure::Storage::Core::Util::StorageProgress ^> ^ progressHandler, System::Threading::CancellationToken cancellationToken);
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DownloadRangeToStreamAsync (System.IO.Stream target, Nullable<long> offset, Nullable<long> length, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, IProgress<Microsoft.WindowsAzure.Storage.Core.Util.StorageProgress> progressHandler, System.Threading.CancellationToken cancellationToken);
abstract member DownloadRangeToStreamAsync : System.IO.Stream * Nullable<int64> * Nullable<int64> * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * IProgress<Microsoft.WindowsAzure.Storage.Core.Util.StorageProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DownloadRangeToStreamAsync : System.IO.Stream * Nullable<int64> * Nullable<int64> * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * IProgress<Microsoft.WindowsAzure.Storage.Core.Util.StorageProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
target
Stream Stream Stream Stream

A Stream object representing the target stream.

offset
Nullable<Int64>

The offset at which to begin downloading the blob, in bytes.

length
Nullable<Int64>

The length of the data to download from the blob, in bytes.

accessCondition
AccessCondition AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

progressHandler
IProgress<StorageProgress>

A IProgress<T> object to handle StorageProgress messages.

cancellationToken
CancellationToken CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Applies to