Operation​Context Class

Definition

Represents the context for a request operation against the storage service, and provides additional runtime information about its execution.

public sealed class OperationContext
Inheritance
OperationContext

Constructors

Operation​Context()

Initializes a new instance of the OperationContext class.

Properties

Client​Request​ID

Gets or sets the client request ID.

Default​Log​Level

Gets or sets the default logging level to be used for subsequently created instances of the OperationContext class.

End​Time

Gets or sets the end time of the operation.

Last​Result

Gets the last request result encountered for the operation.

Log​Level

Gets or sets the logging level to be used for an instance of the OperationContext class.

Request​Results

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

Start​Time

Gets or sets the start time of the operation.

User​Headers

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

Events

Global​Request​Completed

Occurs after a response has been fully received and processed.

Global​Response​Received

Occurs when a response is received from the server, before any processing or downloading.

Global​Retrying

Occurs before a request is retried

Global​Sending​Request

Occurs immediately before a request is signed.

Request​Completed

Occurs after a response has been fully received and processed.

Response​Received

Occurs when a response is received from the service, before any processing or downloading.

Retrying

Occurs before a request is retried

Sending​Request

Occurs immediately before a request is signed.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)