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. |
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. |
Properties |
Application opted Cosmos request context that flow through with the RequestMessage. Context will be available through handlers. |
Methods
ShallowCopy() |
Clone RequestOptions. |
Applies to
Feedback
Submit and view feedback for