Represents the context for a request operation against the storage service, and provides additional runtime information about its execution.
The following tables list the members exposed by the OperationContext type.
Public Constructors
| Name | Description | |
|---|---|---|
| OperationContext | Initializes a new instance of the OperationContext class. |
Public Properties
| Name | Description | |
|---|---|---|
|
ClientRequestID | Gets or sets the client request ID. |
|
DefaultLogLevel | Gets or sets the default logging level to be used for subsequently created instances of the OperationContext class. |
|
EndTime | Gets or sets the end time of the operation. |
|
LastResult | Gets the last request result encountered for the operation. |
|
LogLevel | Gets or sets the logging level to be used for an instance of the OperationContext class. |
|
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. |
Public Methods (see also Protected Methods)
| Name | Description | |
|---|---|---|
|
Equals | (Inherited from Object) |
|
GetHashCode | (Inherited from Object) |
|
GetType | (Inherited from Object) |
|
ToString | (Inherited from Object) |
Protected Methods
| Name | Description | |
|---|---|---|
|
Finalize | (Inherited from Object) |
|
MemberwiseClone | (Inherited from Object) |
Public Events
| Name | Description | |
|---|---|---|
|
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. |