Udostępnij za pośrednictwem


OperationContext 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
type OperationContext = class
Public NotInheritable Class OperationContext
Inheritance
OperationContext

Constructors

OperationContext()

Initializes a new instance of the OperationContext class.

Properties

ClientRequestID

Gets or sets the client request ID.

CustomUserAgent

Gets or sets a custom UserAgent value to be prepended to the existing library UserAgent.

EndTime

Gets or sets the end time of the operation.

LastResult

Gets the last request result encountered for the operation.

RequestResults

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

StartTime

Gets or sets the start time of the operation.

UserHeaders

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

Events

GlobalRequestCompleted

Occurs after a response has been fully received and processed.

GlobalResponseReceived

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

GlobalRetrying

Occurs before a request is retried

GlobalSendingRequest

Occurs immediately before a request is signed.

RequestCompleted

Occurs after a response has been fully received and processed.

ResponseReceived

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

Retrying

Occurs before a request is retried

SendingRequest

Occurs immediately before a request is signed.

Applies to