cloud_page_blob::clear_pages_async Method
Intitiates an asynchronous operation to clear pages from a page blob.
pplx::task<void> clear_pages_async(
int64_t start_offset,
int64_t length
);
WASTORAGE_API pplx::task<void> clear_pages_async(
int64_t start_offset,
int64_t length,
const access_condition& condition,
const blob_request_options& options,
operation_context context
);
Parameters
- start_offset
The offset at which to begin clearing pages, in bytes. The offset must be a multiple of 512.
- length
The length of the data range to be cleared, in bytes. The length must be a multiple of 512.
- 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.
Return Value
A pplx::task object that represents the current operation.
Requirements
Header: blob.h
Namespace: azure::storage