CloudFile.EndDownloadRangeToByteArray(IAsyncResult) Method

Definition

Ends an asynchronous operation to download the contents of a file to a byte array.

public virtual int EndDownloadRangeToByteArray (IAsyncResult asyncResult);
abstract member EndDownloadRangeToByteArray : IAsyncResult -> int
override this.EndDownloadRangeToByteArray : IAsyncResult -> int
Public Overridable Function EndDownloadRangeToByteArray (asyncResult As IAsyncResult) As Integer

Parameters

asyncResult
IAsyncResult

An IAsyncResult that references the pending asynchronous operation.

Returns

The total number of bytes read into the buffer.

Applies to