SALES: 1-800-867-1380

CloudBlockBlob.BeginUploadFromByteArray Method (Byte[], Int32, Int32, AsyncCallback, Object)


Begins an asynchronous operation to upload the contents of a byte array to a blob. If the blob already exists, it will be overwritten.

Namespace:   Microsoft.WindowsAzure.Storage.Blob
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

public ICancellableAsyncResult BeginUploadFromByteArray(
	byte[] buffer,
	int index,
	int count,
	AsyncCallback callback,
	object state


Type: System.Byte[]

An array of bytes.

Type: System.Int32

The zero-based byte offset in buffer at which to begin uploading bytes to the blob.

Type: System.Int32

The number of bytes to be written to the blob.

Type: System.AsyncCallback

An AsyncCallback delegate that will receive notification when the asynchronous operation completes.

Type: System.Object

A user-defined object that will be passed to the callback delegate.

Return Value

Type: Microsoft.WindowsAzure.Storage.ICancellableAsyncResult

An ICancellableAsyncResult that references the asynchronous operation.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft