Share via


cloud_page_blob::open_write_async Method

Intitiates an asynchronous operation to open a stream for writing to an existing page blob.

pplx::task<concurrency::streams::ostream> open_write_async();

WASTORAGE_API pplx::task<concurrency::streams::ostream> open_write_async(
   const access_condition& condition,
   const blob_request_options& options,
   operation_context context
);

pplx::task<concurrency::streams::ostream> open_write_async(
   utility::size64_t size
);

WASTORAGE_API pplx::task<concurrency::streams::ostream> open_write_async(
   utility::size64_t size,
   int64_t sequence_number,
   const access_condition& condition,
   const blob_request_options& options,
   operation_context context
);

Parameters

  • condition
    An azure::storage::access_condition object that represents the access condition for the operation.
  • options
    A azure::storage::blob_request_options object that specifies additional options for the request.
  • context
    An azure::storage::operation_context object that represents the context for the current operation.
  • size
    The size of the write operation, in bytes. The size must be a multiple of 512.
  • sequence_number
    A user-controlled number to track request sequence, whose value must be between 0 and 2^63 - 1.

Return Value

A pplx::task object of type concurrency::streams::ostream that represents the current operation.

Requirements

Header: blob.h

Namespace: azure::storage

See Also

Reference

cloud_page_blob Class