SALES: 1-800-867-1380
This topic has not yet been rated - Rate this topic

CloudPageBlob.BeginResize Method (Int64, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Updated: September 24, 2013

[This topic is part of the Windows Azure Storage Client Library 2.1. The current recommended version is Storage Client Library 3.0.]

Begins an asynchronous operation to resize a page blob to the specified size.

Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
'Usage
Dim instance As CloudPageBlob
Dim size As Long
Dim accessCondition As AccessCondition
Dim options As BlobRequestOptions
Dim operationContext As OperationContext
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As ICancellableAsyncResult

returnValue = instance.BeginResize(size, accessCondition, options, operationContext, callback, state)
[DoesServiceRequest] 
public ICancellableAsyncResult BeginResize (
	long size,
	AccessCondition accessCondition,
	BlobRequestOptions options,
	OperationContext operationContext,
	AsyncCallback callback,
	Object state
)

Parameters

size

The size of the blob, in bytes.

accessCondition

An AccessCondition object that represents the access conditions for the blob. If null, no condition is used.

options

An BlobRequestOptions object that specifies any additional options for the request.

operationContext

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

callback

The callback delegate that will receive notification when the asynchronous operation completes.

state

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

Return Value

An ICancellableAsyncResult that references the asynchronous operation.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.