OperationContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
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. |
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
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기