request_result::request_result Constructor
Initializes a new instance of the request_result class.
request_result();
request_result(
utility::datetime start_time,
storage_location target_location
);
WASTORAGE_API request_result(
utility::datetime start_time,
storage_location target_location,
const web::http::http_response& response,
bool parse_body_as_error
);
WASTORAGE_API request_result(
utility::datetime start_time,
storage_location target_location,
const web::http::http_response& response,
web::http::status_code http_status_code,
storage_extended_error extended_error
);
request_result(
request_result&& other
);
Parameters
- start_time
The start time of the request.
- target_location
The target location for the request.
- response
The HTTP response to read.
- parse_body_as_error
A flag that indicates whether to parse error data from the response body.
- http_status_code
The HTTP status code for the request.
- extended_error
The extended error information for the request.
- other
A reference to a set of request_result on which to base the new instance.
Requirements
Header: core.h
Namespace: azure::storage