RequestOptions 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.
The default cosmos request options
public class RequestOptions
type RequestOptions = class
Public Class RequestOptions
- Inheritance
-
RequestOptions
- Derived
Constructors
RequestOptions() |
Properties
AddRequestHeaders |
Gets or sets a delegate which injects/appends a custom header in the request. |
CosmosThresholdOptions |
Threshold values for Distributed Tracing. These values decides whether to generate operation level EventSource with request diagnostics or not. |
ExcludeRegions |
List of regions to be excluded routing the request to. This can be used to route a request to a specific region by excluding all other regions. If all regions are excluded, then the request will be routed to the primary/hub region. |
IfMatchEtag |
Gets or sets the If-Match (ETag) associated with the request in the Azure Cosmos DB service. |
IfNoneMatchEtag |
Gets or sets the If-None-Match (ETag) associated with the request in the Azure Cosmos DB service. |
PriorityLevel |
Gets or sets the priority level for a request. |
Properties |
Application opted Cosmos request context that flow through with the RequestMessage. Context will be available through handlers. |
Methods
ShallowCopy() |
Clone RequestOptions. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기