Permalink
Cannot retrieve contributors at this time
Fetching contributors…
| <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" /> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName> | |
| <AssemblyVersion>1.14.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.16.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.17.0.0</AssemblyVersion> | |
| </AssemblyInfo> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName> | |
| <AssemblyVersion>1.5.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 DocumentDB database 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" /> | |
| <MemberType>Constructor</MemberType> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName> | |
| <AssemblyVersion>1.14.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.16.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.17.0.0</AssemblyVersion> | |
| </AssemblyInfo> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName> | |
| <AssemblyVersion>1.5.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 DocumentDB database service. | |
| </summary> | |
| <remarks>To be added.</remarks> | |
| </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" /> | |
| <MemberType>Property</MemberType> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName> | |
| <AssemblyVersion>1.14.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.16.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.17.0.0</AssemblyVersion> | |
| </AssemblyInfo> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName> | |
| <AssemblyVersion>1.5.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 DocumentDB database 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" /> | |
| <MemberType>Property</MemberType> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName> | |
| <AssemblyVersion>1.14.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.16.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.17.0.0</AssemblyVersion> | |
| </AssemblyInfo> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName> | |
| <AssemblyVersion>1.5.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 DocumentDB database 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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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 Nullable<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" /> | |
| <MemberType>Property</MemberType> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName> | |
| <AssemblyVersion>1.14.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.16.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.17.0.0</AssemblyVersion> | |
| </AssemblyInfo> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName> | |
| <AssemblyVersion>1.5.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 DocumentDB database 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 Nullable<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" /> | |
| <MemberType>Property</MemberType> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName> | |
| <AssemblyVersion>1.14.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.16.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.17.0.0</AssemblyVersion> | |
| </AssemblyInfo> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName> | |
| <AssemblyVersion>1.5.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 DocumentDB database 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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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="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" /> | |
| <MemberType>Property</MemberType> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName> | |
| <AssemblyVersion>1.14.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.16.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.17.0.0</AssemblyVersion> | |
| </AssemblyInfo> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName> | |
| <AssemblyVersion>1.5.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 DocumentDB database 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> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions { | |
| MaximumBufferSize = 10, MaxDegreeOfParallelism = 2 }); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions { | |
| MaximumBufferSize = 10, MaxDegreeOfParallelism = 2 }); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions { | |
| MaximumBufferSize = 10, MaxDegreeOfParallelism = 2 }); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions { | |
| MaximumBufferSize = 10, MaxDegreeOfParallelism = 2 }); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions { | |
| MaximumBufferSize = 10, MaxDegreeOfParallelism = 2 }); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions { | |
| MaximumBufferSize = 10, MaxDegreeOfParallelism = 2 }); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions { | |
| MaximumBufferSize = 10, MaxDegreeOfParallelism = 2 }); | |
| ]]></code> | |
| </example> | |
| <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" /> | |
| <MemberType>Property</MemberType> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName> | |
| <AssemblyVersion>1.14.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.16.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.17.0.0</AssemblyVersion> | |
| </AssemblyInfo> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName> | |
| <AssemblyVersion>1.5.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 DocumentDB database 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> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions { | |
| MaxDegreeOfParallelism = 5}); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions { | |
| MaxDegreeOfParallelism = 5}); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions { | |
| MaxDegreeOfParallelism = 5}); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions { | |
| MaxDegreeOfParallelism = 5}); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions { | |
| MaxDegreeOfParallelism = 5}); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions { | |
| MaxDegreeOfParallelism = 5}); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>(collectionLink, new FeedOptions { | |
| MaxDegreeOfParallelism = 5}); | |
| ]]></code> | |
| </example> | |
| <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 Nullable<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" /> | |
| <MemberType>Property</MemberType> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName> | |
| <AssemblyVersion>1.14.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.16.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.17.0.0</AssemblyVersion> | |
| </AssemblyInfo> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName> | |
| <AssemblyVersion>1.5.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 DocumentDB database 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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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" /> | |
| <MemberType>Property</MemberType> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName> | |
| <AssemblyVersion>1.14.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.16.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.17.0.0</AssemblyVersion> | |
| </AssemblyInfo> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName> | |
| <AssemblyVersion>1.5.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 DocumentDB database 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)" />, | |
| <see cref="M:Microsoft.Azure.Documents.Client.DocumentClient.ReadAttachmentFeedAsync(System.String,Microsoft.Azure.Documents.Client.FeedOptions)" /> 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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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" /> | |
| <MemberType>Property</MemberType> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName> | |
| <AssemblyVersion>1.5.0.0</AssemblyVersion> | |
| </AssemblyInfo> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName> | |
| <AssemblyVersion>1.17.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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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="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" /> | |
| <MemberType>Property</MemberType> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName> | |
| <AssemblyVersion>1.14.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.16.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.17.0.0</AssemblyVersion> | |
| </AssemblyInfo> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName> | |
| <AssemblyVersion>1.5.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 DocumentDB database 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" /> | |
| <MemberType>Property</MemberType> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName> | |
| <AssemblyVersion>1.14.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.16.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.17.0.0</AssemblyVersion> | |
| </AssemblyInfo> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName> | |
| <AssemblyVersion>1.5.0.0</AssemblyVersion> | |
| </AssemblyInfo> | |
| <ReturnValue> | |
| <ReturnType>System.String</ReturnType> | |
| </ReturnValue> | |
| <Docs> | |
| <summary> | |
| Gets or sets the request continuation token in the Azure DocumentDB database 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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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> | |
| <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 Nullable<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" /> | |
| <MemberType>Property</MemberType> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName> | |
| <AssemblyVersion>1.14.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.16.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.17.0.0</AssemblyVersion> | |
| </AssemblyInfo> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName> | |
| <AssemblyVersion>1.5.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 DocumentDB database 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" /> | |
| <MemberType>Property</MemberType> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName> | |
| <AssemblyVersion>1.14.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.16.0.0</AssemblyVersion> | |
| <AssemblyVersion>1.17.0.0</AssemblyVersion> | |
| </AssemblyInfo> | |
| <AssemblyInfo> | |
| <AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName> | |
| <AssemblyVersion>1.5.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 DocumentDB database 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 DocumentDB 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> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>( | |
| collectionLink, new FeedOptions { SessionToken = lastSessionToken }); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>( | |
| collectionLink, new FeedOptions { SessionToken = lastSessionToken }); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>( | |
| collectionLink, new FeedOptions { SessionToken = lastSessionToken }); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>( | |
| collectionLink, new FeedOptions { SessionToken = lastSessionToken }); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>( | |
| collectionLink, new FeedOptions { SessionToken = lastSessionToken }); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>( | |
| collectionLink, new FeedOptions { SessionToken = lastSessionToken }); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>( | |
| collectionLink, new FeedOptions { SessionToken = lastSessionToken }); | |
| ]]></code> | |
| </example> | |
| <example> | |
| <code language="c#"><![CDATA[ | |
| var queryable = client.CreateDocumentQuery<Book>( | |
| collectionLink, new FeedOptions { SessionToken = lastSessionToken }); | |
| ]]></code> | |
| </example> | |
| </Docs> | |
| </Member> | |
| </Members> | |
| </Type> |