이 페이지가 유용했습니까?
이 콘텐츠에 대한 여러분의 의견은 중요합니다. 의견을 알려주십시오.
추가 의견
1500자 남음
내보내기(0) 인쇄
모두 확장
EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

CloudPageBlob.BeginOpenWrite Method (Nullable, AsyncCallback, Object)

Updated: May 15, 2014

Begins an asynchronous operation to open a stream for writing to the blob.

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

[DoesServiceRequestAttribute] 
public ICancellableAsyncResult BeginOpenWrite (
	Nullable<long> size,
	AsyncCallback callback,
	Object state
)

Parameters

size

The size of the page blob, in bytes. The size must be a multiple of 512. If null, the page blob must already exist.

callback

An AsyncCallback 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.

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.


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, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

 

표시:
© 2015 Microsoft