cloud_page_blob::upload_from_file_async Method
Intitiates an asynchronous operation to upload a file to a page blob.
pplx::task<void> upload_from_file_async(
const utility::string_t &path
);
WASTORAGE_API pplx::task<void> upload_from_file_async(
const utility::string_t &path,
int64_t sequence_number,
const access_condition& condition,
const blob_request_options& options,
operation_context context
);
Parameters
- path
The file providing the blob content.
- 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.
- 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 that represents the current operation.
Requirements
Header: blob.h
Namespace: azure::storage