CloudFile.EndDownloadToByteArray(IAsyncResult) Method

Definition

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

public virtual int EndDownloadToByteArray (IAsyncResult asyncResult);
abstract member EndDownloadToByteArray : IAsyncResult -> int
override this.EndDownloadToByteArray : IAsyncResult -> int
Public Overridable Function EndDownloadToByteArray (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