CloudPageBlob.BeginOpenWrite Method (Nullable, AsyncCallback, Object)
Updated: May 15, 2014
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
[DoesServiceRequestAttribute] public ICancellableAsyncResult BeginOpenWrite ( Nullable<long> size, AsyncCallback callback, Object state )
The size of the page blob, in bytes. The size must be a multiple of 512. If
null, the page blob must already exist.
An AsyncCallback delegate that will receive notification when the asynchronous operation completes.
A user-defined object that will be passed to the callback delegate.
Return ValueAn ICancellableAsyncResult that references the asynchronous operation.
Note that this method always makes a call to the BeginFetchAttributes(AccessCondition,BlobRequestOptions,OperationContext,AsyncCallback,Object) method under the covers.
Set the StreamWriteSizeInBytes property before calling this method to specify the block size to write, in bytes, ranging from between 16 KB and 4 MB inclusive.
Development PlatformsWindows Vista, Windows 7 and Windows Server 2008