xml/Microsoft.Azure.Documents.Client/FeedOptions.xml (636 lines of code) (raw):
<Type Name="FeedOptions" FullName="Microsoft.Azure.Documents.Client.FeedOptions">
<TypeSignature Language="C#" Value="public sealed class FeedOptions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit FeedOptions extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.Azure.Documents.Client.FeedOptions" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class FeedOptions" />
<TypeSignature Language="F#" Value="type FeedOptions = class" />
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.14.0.0</AssemblyVersion>
<AssemblyVersion>2.14.1.0</AssemblyVersion>
<AssemblyVersion>2.15.0.0</AssemblyVersion>
<AssemblyVersion>2.16.0.0</AssemblyVersion>
<AssemblyVersion>2.16.1.0</AssemblyVersion>
<AssemblyVersion>2.16.2.0</AssemblyVersion>
<AssemblyVersion>2.17.0.0</AssemblyVersion>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.14.0.0</AssemblyVersion>
<AssemblyVersion>2.14.1.0</AssemblyVersion>
<AssemblyVersion>2.15.0.0</AssemblyVersion>
<AssemblyVersion>2.16.0.0</AssemblyVersion>
<AssemblyVersion>2.16.1.0</AssemblyVersion>
<AssemblyVersion>2.16.2.0</AssemblyVersion>
<AssemblyVersion>2.17.0.0</AssemblyVersion>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>
Specifies the options associated with feed methods (enumeration operations) in the Azure Cosmos DB service.
</summary>
<remarks>
Used to manage query and ReadFeed execution. Can use FeedOptions to set page size (MaxItemCount)
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public FeedOptions ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Azure.Documents.Client.FeedOptions.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>
Initializes a new instance of the <see cref="T:Microsoft.Azure.Documents.Client.FeedOptions" /> class for the Azure Cosmos DB service.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ConsistencyLevel">
<MemberSignature Language="C#" Value="public Microsoft.Azure.Documents.ConsistencyLevel? ConsistencyLevel { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Nullable`1<valuetype Microsoft.Azure.Documents.ConsistencyLevel> ConsistencyLevel" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Documents.Client.FeedOptions.ConsistencyLevel" />
<MemberSignature Language="VB.NET" Value="Public Property ConsistencyLevel As Nullable(Of ConsistencyLevel)" />
<MemberSignature Language="F#" Value="member this.ConsistencyLevel : Nullable<Microsoft.Azure.Documents.ConsistencyLevel> with get, set" Usage="Microsoft.Azure.Documents.Client.FeedOptions.ConsistencyLevel" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Nullable<Microsoft.Azure.Documents.ConsistencyLevel></ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets the consistency level required for the feed (query/read feed) operation in the Azure Cosmos DB service.
</summary>
<value>
The consistency level required for the request.
</value>
<remarks>
Azure Cosmos DB offers 5 different consistency levels. Strong, Bounded Staleness, Session, Consistent Prefix and Eventual - in order of strongest to weakest consistency. <see cref="T:Microsoft.Azure.Documents.Client.ConnectionPolicy" />
Azure Cosmos query/DB feed operations may be retrieved from many partitions, each accessed across many round trips. The consistency level is honored only within a partition and round trip.
<para>
While this is set at a database account level, Azure Cosmos DB allows a developer to override the default consistency level
for each individual request.
</para></remarks>
<altmember cref="P:Microsoft.Azure.Documents.Client.FeedOptions.ConsistencyLevel" />
<example>
This example uses FeedOptions to override the consistency level to Eventual.
<code language="c#"><![CDATA[
Document doc = client.ReadDocumentFeedAsync(documentLink, new FeedOptions { ConsistencyLevel = ConsistencyLevel.Eventual });
]]></code></example>
</Docs>
</Member>
<Member MemberName="DisableRUPerMinuteUsage">
<MemberSignature Language="C#" Value="public bool DisableRUPerMinuteUsage { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool DisableRUPerMinuteUsage" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Documents.Client.FeedOptions.DisableRUPerMinuteUsage" />
<MemberSignature Language="VB.NET" Value="Public Property DisableRUPerMinuteUsage As Boolean" />
<MemberSignature Language="F#" Value="member this.DisableRUPerMinuteUsage : bool with get, set" Usage="Microsoft.Azure.Documents.Client.FeedOptions.DisableRUPerMinuteUsage" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets the <see cref="P:Microsoft.Azure.Documents.Client.FeedOptions.DisableRUPerMinuteUsage" /> option for the current query in the Azure Cosmos DB service.
</summary>
<value>To be added.</value>
<remarks>
<para>
DisableRUPerMinuteUsage is used to enable/disable Request Units(RUs)/minute capacity to serve the query if regular provisioned RUs/second is exhausted.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="EnableCrossPartitionQuery">
<MemberSignature Language="C#" Value="public bool EnableCrossPartitionQuery { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool EnableCrossPartitionQuery" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Documents.Client.FeedOptions.EnableCrossPartitionQuery" />
<MemberSignature Language="VB.NET" Value="Public Property EnableCrossPartitionQuery As Boolean" />
<MemberSignature Language="F#" Value="member this.EnableCrossPartitionQuery : bool with get, set" Usage="Microsoft.Azure.Documents.Client.FeedOptions.EnableCrossPartitionQuery" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets a value indicating whether users are enabled to send more than one request to execute
the query in the Azure Cosmos DB service. More than one request is necessary if the query
is not scoped to single partition key value.
</summary>
<value>
Option is true if cross-partition query execution is enabled; otherwise, false.
</value>
<remarks>
<para>
This option only applies to queries on documents and document attachments.
</para>
</remarks>
<example>
<code language="c#"><![CDATA[
// Enable cross partition query.
var queryable = client.CreateDocumentQuery<Book>(
collectionLink, new FeedOptions { EnableCrossPartitionQuery = true }).Where(b => b.Price > 1000);
]]></code>
</example>
</Docs>
</Member>
<Member MemberName="EnableLowPrecisionOrderBy">
<MemberSignature Language="C#" Value="public bool? EnableLowPrecisionOrderBy { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Nullable`1<bool> EnableLowPrecisionOrderBy" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Documents.Client.FeedOptions.EnableLowPrecisionOrderBy" />
<MemberSignature Language="VB.NET" Value="Public Property EnableLowPrecisionOrderBy As Nullable(Of Boolean)" />
<MemberSignature Language="F#" Value="member this.EnableLowPrecisionOrderBy : Nullable<bool> with get, set" Usage="Microsoft.Azure.Documents.Client.FeedOptions.EnableLowPrecisionOrderBy" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Nullable<System.Boolean></ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets the option to enable low precision order by in the Azure Cosmos DB service.
</summary>
<value>
The option to enable low-precision order by.
</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="EnableScanInQuery">
<MemberSignature Language="C#" Value="public bool? EnableScanInQuery { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Nullable`1<bool> EnableScanInQuery" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Documents.Client.FeedOptions.EnableScanInQuery" />
<MemberSignature Language="VB.NET" Value="Public Property EnableScanInQuery As Nullable(Of Boolean)" />
<MemberSignature Language="F#" Value="member this.EnableScanInQuery : Nullable<bool> with get, set" Usage="Microsoft.Azure.Documents.Client.FeedOptions.EnableScanInQuery" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Nullable<System.Boolean></ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets the option to enable scans on the queries which couldn't be served
as indexing was opted out on the requested paths in the Azure Cosmos DB service.
</summary>
<value>
Option is true if scan on queries is enabled; otherwise, false.
</value>
<remarks>To be added.</remarks>
<example>
<code language="c#"><![CDATA[
// Enable scan when Range index is not specified.
var queryable = client.CreateDocumentQuery<Book>(
collectionLink, new FeedOptions { EnableScanInQuery = true }).Where(b => b.Price > 1000);
]]></code>
</example>
</Docs>
</Member>
<Member MemberName="JsonSerializerSettings">
<MemberSignature Language="C#" Value="public Newtonsoft.Json.JsonSerializerSettings JsonSerializerSettings { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Newtonsoft.Json.JsonSerializerSettings JsonSerializerSettings" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Documents.Client.FeedOptions.JsonSerializerSettings" />
<MemberSignature Language="VB.NET" Value="Public Property JsonSerializerSettings As JsonSerializerSettings" />
<MemberSignature Language="F#" Value="member this.JsonSerializerSettings : Newtonsoft.Json.JsonSerializerSettings with get, set" Usage="Microsoft.Azure.Documents.Client.FeedOptions.JsonSerializerSettings" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Newtonsoft.Json.JsonSerializerSettings</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets the <see cref="P:Microsoft.Azure.Documents.Client.FeedOptions.JsonSerializerSettings" /> for the current request used to deserialize the document.
If null, uses the default serializer settings set up in the DocumentClient.
</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MaxBufferedItemCount">
<MemberSignature Language="C#" Value="public int MaxBufferedItemCount { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 MaxBufferedItemCount" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Documents.Client.FeedOptions.MaxBufferedItemCount" />
<MemberSignature Language="VB.NET" Value="Public Property MaxBufferedItemCount As Integer" />
<MemberSignature Language="F#" Value="member this.MaxBufferedItemCount : int with get, set" Usage="Microsoft.Azure.Documents.Client.FeedOptions.MaxBufferedItemCount" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets the maximum number of items that can be buffered client side during
parallel query execution in the Azure Cosmos DB service.
A positive property value limits the number of buffered
items to the set value. If it is set to less than 0, the system automatically
decides the number of items to buffer.
</summary>
<value>
The maximum count of items that can be buffered during parallel query execution.
</value>
<remarks>
This is only suggestive and cannot be abided by in certain cases.
</remarks>
<example>
<code language="c#"><![CDATA[
var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions {
MaximumBufferSize = 10, MaxDegreeOfParallelism = 2 });
]]></code>
</example>
</Docs>
</Member>
<Member MemberName="MaxDegreeOfParallelism">
<MemberSignature Language="C#" Value="public int MaxDegreeOfParallelism { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 MaxDegreeOfParallelism" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Documents.Client.FeedOptions.MaxDegreeOfParallelism" />
<MemberSignature Language="VB.NET" Value="Public Property MaxDegreeOfParallelism As Integer" />
<MemberSignature Language="F#" Value="member this.MaxDegreeOfParallelism : int with get, set" Usage="Microsoft.Azure.Documents.Client.FeedOptions.MaxDegreeOfParallelism" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets the number of concurrent operations run client side during
parallel query execution in the Azure Cosmos DB service.
A positive property value limits the number of
concurrent operations to the set value. If it is set to less than 0, the
system automatically decides the number of concurrent operations to run.
</summary>
<value>
The maximum number of concurrent operations during parallel execution. Defaults to 0.
</value>
<remarks>To be added.</remarks>
<example>
<code language="c#"><![CDATA[
var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions {
MaxDegreeOfParallelism = 5});
]]></code>
</example>
</Docs>
</Member>
<Member MemberName="MaxItemCount">
<MemberSignature Language="C#" Value="public int? MaxItemCount { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Nullable`1<int32> MaxItemCount" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Documents.Client.FeedOptions.MaxItemCount" />
<MemberSignature Language="VB.NET" Value="Public Property MaxItemCount As Nullable(Of Integer)" />
<MemberSignature Language="F#" Value="member this.MaxItemCount : Nullable<int> with get, set" Usage="Microsoft.Azure.Documents.Client.FeedOptions.MaxItemCount" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Nullable<System.Int32></ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets the maximum number of items to be returned in the enumeration operation in the Azure Cosmos DB service.
</summary>
<value>
The maximum number of items to be returned in the enumeration operation.
</value>
<remarks>
Used for query pagination.
'-1' Used for dynamic page size.
</remarks>
<example>
<code language="c#"><![CDATA[
// Fetch query results 10 at a time.
using (var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions { MaxItemCount = 10 }))
{
while (queryable.HasResults)
{
FeedResponse<Book> response = await queryable.ExecuteNext<Book>();
}
}
]]></code>
</example>
</Docs>
</Member>
<Member MemberName="PartitionKey">
<MemberSignature Language="C#" Value="public Microsoft.Azure.Documents.PartitionKey PartitionKey { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.Azure.Documents.PartitionKey PartitionKey" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Documents.Client.FeedOptions.PartitionKey" />
<MemberSignature Language="VB.NET" Value="Public Property PartitionKey As PartitionKey" />
<MemberSignature Language="F#" Value="member this.PartitionKey : Microsoft.Azure.Documents.PartitionKey with get, set" Usage="Microsoft.Azure.Documents.Client.FeedOptions.PartitionKey" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Azure.Documents.PartitionKey</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets the <see cref="P:Microsoft.Azure.Documents.Client.FeedOptions.PartitionKey" /> for the current request in the Azure Cosmos DB service.
</summary>
<value>To be added.</value>
<remarks>
<para>
Partition key is required when read documents or attachments feed in a partitioned collection.
Specifically Partition key is required for :
<see cref="M:Microsoft.Azure.Documents.Client.DocumentClient.ReadDocumentFeedAsync(System.String,Microsoft.Azure.Documents.Client.FeedOptions,System.Threading.CancellationToken)" />,
<see cref="M:Microsoft.Azure.Documents.Client.DocumentClient.ReadAttachmentFeedAsync(System.String,Microsoft.Azure.Documents.Client.FeedOptions,System.Threading.CancellationToken)" /> and
<see cref="M:Microsoft.Azure.Documents.Client.DocumentClient.ReadConflictFeedAsync(System.String,Microsoft.Azure.Documents.Client.FeedOptions)" />.
Only documents in partitions containing the <see cref="P:Microsoft.Azure.Documents.Client.FeedOptions.PartitionKey" /> is returned in the result.
</para>
</remarks>
<altmember cref="T:Microsoft.Azure.Documents.DocumentCollection" />
<altmember cref="T:Microsoft.Azure.Documents.PartitionKeyDefinition" />
<example>
The following example shows how to read a document feed in a partitioned collection using <see cref="P:Microsoft.Azure.Documents.Client.FeedOptions.PartitionKey" />.
The example assumes the collection is created with a <see cref="T:Microsoft.Azure.Documents.PartitionKeyDefinition" /> on the 'country' property in all the documents.
<code language="c#"><![CDATA[
await client.ReadDocumentFeedAsync(
collection.SelfLink,
new RequestOptions { PartitionKey = new PartitionKey("USA") } );
]]></code></example>
</Docs>
</Member>
<Member MemberName="PartitionKeyRangeId">
<MemberSignature Language="C#" Value="public string PartitionKeyRangeId { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string PartitionKeyRangeId" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Documents.Client.FeedOptions.PartitionKeyRangeId" />
<MemberSignature Language="VB.NET" Value="Public Property PartitionKeyRangeId As String" />
<MemberSignature Language="F#" Value="member this.PartitionKeyRangeId : string with get, set" Usage="Microsoft.Azure.Documents.Client.FeedOptions.PartitionKeyRangeId" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets the partition key range id for the current request.
</summary>
<value>To be added.</value>
<remarks>
<para>
ReadFeed requests can use this to forward request to specific range.
This is usefull in case of bulk export scenarios.
</para>
</remarks>
<altmember cref="T:Microsoft.Azure.Documents.DocumentCollection" />
<example>
The following example shows how to read a document feed in a partitioned collection from partition key range "20".
<code language="c#"><![CDATA[
await client.ReadDocumentFeedAsync(
collection.SelfLink,
new RequestOptions { PartitionKeyRangeId = "20" } );
]]></code></example>
</Docs>
</Member>
<Member MemberName="PopulateIndexMetrics">
<MemberSignature Language="C#" Value="public bool PopulateIndexMetrics { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool PopulateIndexMetrics" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Documents.Client.FeedOptions.PopulateIndexMetrics" />
<MemberSignature Language="VB.NET" Value="Public Property PopulateIndexMetrics As Boolean" />
<MemberSignature Language="F#" Value="member this.PopulateIndexMetrics : bool with get, set" Usage="Microsoft.Azure.Documents.Client.FeedOptions.PopulateIndexMetrics" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets the the <see cref="P:Microsoft.Azure.Documents.Client.FeedOptions.PopulateIndexMetrics" /> request option for document query requests in the Azure Cosmos DB service.
</summary>
<value>To be added.</value>
<remarks>
<para>
PopulateIndexMetrics is used to obtain the index metrics to understand how the query engine used existing indexes and could use potential new indexes.
This requires PopulateQueryMetrics as the result is displayed in QueryMetrics. Please note that this options will incurs overhead, so it should be
enabled when debuging slow queries.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PopulateQueryMetrics">
<MemberSignature Language="C#" Value="public bool PopulateQueryMetrics { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool PopulateQueryMetrics" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Documents.Client.FeedOptions.PopulateQueryMetrics" />
<MemberSignature Language="VB.NET" Value="Public Property PopulateQueryMetrics As Boolean" />
<MemberSignature Language="F#" Value="member this.PopulateQueryMetrics : bool with get, set" Usage="Microsoft.Azure.Documents.Client.FeedOptions.PopulateQueryMetrics" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets the <see cref="P:Microsoft.Azure.Documents.Client.FeedOptions.PopulateQueryMetrics" /> request option for document query requests in the Azure Cosmos DB service.
</summary>
<value>To be added.</value>
<remarks>
<para>
PopulateQueryMetrics is used to enable/disable getting metrics relating to query execution on document query requests.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="RequestContinuation">
<MemberSignature Language="C#" Value="public string RequestContinuation { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string RequestContinuation" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Documents.Client.FeedOptions.RequestContinuation" />
<MemberSignature Language="VB.NET" Value="Public Property RequestContinuation As String" />
<MemberSignature Language="F#" Value="member this.RequestContinuation : string with get, set" Usage="Microsoft.Azure.Documents.Client.FeedOptions.RequestContinuation" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets the request continuation token in the Azure Cosmos DB service.
</summary>
<value>
The request continuation token.
</value>
<remarks>To be added.</remarks>
<example>
<code language="c#"><![CDATA[
// Resume query execution using the continuation from the previous query
var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions { RequestContinuation = prevQuery.ResponseContinuation });
]]></code>
</example>
</Docs>
</Member>
<Member MemberName="ResponseContinuationTokenLimitInKb">
<MemberSignature Language="C#" Value="public int? ResponseContinuationTokenLimitInKb { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Nullable`1<int32> ResponseContinuationTokenLimitInKb" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Documents.Client.FeedOptions.ResponseContinuationTokenLimitInKb" />
<MemberSignature Language="VB.NET" Value="Public Property ResponseContinuationTokenLimitInKb As Nullable(Of Integer)" />
<MemberSignature Language="F#" Value="member this.ResponseContinuationTokenLimitInKb : Nullable<int> with get, set" Usage="Microsoft.Azure.Documents.Client.FeedOptions.ResponseContinuationTokenLimitInKb" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Nullable<System.Int32></ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets the <see cref="P:Microsoft.Azure.Documents.Client.FeedOptions.ResponseContinuationTokenLimitInKb" /> request option for document query requests in the Azure Cosmos DB service.
</summary>
<value>To be added.</value>
<remarks>
<para>
ResponseContinuationTokenLimitInKb is used to limit the length of continuation token in the query response. Valid values are >= 0.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SessionToken">
<MemberSignature Language="C#" Value="public string SessionToken { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string SessionToken" />
<MemberSignature Language="DocId" Value="P:Microsoft.Azure.Documents.Client.FeedOptions.SessionToken" />
<MemberSignature Language="VB.NET" Value="Public Property SessionToken As String" />
<MemberSignature Language="F#" Value="member this.SessionToken : string with get, set" Usage="Microsoft.Azure.Documents.Client.FeedOptions.SessionToken" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>2.18.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets the session token for use with session consistency in the Azure Cosmos DB service.
</summary>
<value>
The session token for use with session consistency.
</value>
<remarks>
Useful for applications that are load balanced across multiple Microsoft.Azure.Documents.Client.DocumentClient instances.
In this case, round-trip the token from end user to the application and then back to Azure Cosmos DB so that a session
can be preserved across servers.
</remarks>
<example>
<code language="c#"><![CDATA[
var queryable = client.CreateDocumentQuery<Book>(
collectionLink, new FeedOptions { SessionToken = lastSessionToken });
]]></code>
</example>
</Docs>
</Member>
</Members>
</Type>