Share via


operation_context Class

Represents the context for a request to the Windows Azure storage services, and provides additional runtime information about its execution.

class operation_context;

Members

Public Constructors

Name Description

operation_context::operation_context Constructor

Overloaded. Initializes a new instance of the operation_context class.

Public Methods

Name Description

operation_context::client_request_id Method

Gets the client request ID.

operation_context::default_log_level Method

Gets the default logging level to be used for subsequently created instances of the azure::storage::operation_context class.

operation_context::end_time Method

Gets the end time of the operation.

operation_context::log_level Method

Gets the logging level to be used for an instance of the azure::storage::operation_context class.

operation_context::logger Method

Overloaded. Gets the logger object on this op_context.

operation_context::request_results Method

Gets the set of request results that the current operation has created.

operation_context::set_client_request_id Method

Sets the client request ID.

operation_context::set_default_log_level Method

Sets the default logging level to be used for subsequently created instances of the azure::storage::operation_context class.

operation_context::set_end_time Method

Sets the end time of the operation.

operation_context::set_log_level Method

Sets the logging level to be used for an instance of the azure::storage::operation_context class.

operation_context::set_logger Method

Sets the logger object on this op_context.

operation_context::set_response_received Method

Sets the function that is called when a response is received from the server.

operation_context::set_sending_request Method

Sets the function to call when sending a request.

operation_context::set_start_time Method

Sets the start time of the operation.

operation_context::start_time Method

Gets the start time of the operation.

operation_context::user_headers Method

Overloaded. Gets or sets additional headers on the request, for example, for proxy or logging information.

Public Operators

Name Description

operation_context::operator= Operator

Returns a reference to an operation_context object.

Inheritance Hierarchy

operation_context

Requirements

Header: common.h, core.h

Namespace: azure::storage

See Also

Reference

azure::storage Namespace