Permalink
Fetching contributors…
Cannot retrieve contributors at this time
84 lines (84 sloc) 3.92 KB
<Type Name="AccessConditionType" FullName="Microsoft.Azure.Documents.Client.AccessConditionType">
<TypeSignature Language="C#" Value="public enum AccessConditionType" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed AccessConditionType extends System.Enum" />
<TypeSignature Language="DocId" Value="T:Microsoft.Azure.Documents.Client.AccessConditionType" />
<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.Enum</BaseTypeName>
</Base>
<Docs>
<summary>
Specifies the set of <see cref="T:Microsoft.Azure.Documents.Client.AccessCondition" /> types that can be used for operations in the Azure DocumentDB database service.
</summary>
<remarks>To be added.</remarks>
<altmember cref="T:Microsoft.Azure.Documents.Client.AccessCondition" />
<altmember cref="T:Microsoft.Azure.Documents.Client.RequestOptions" />
</Docs>
<Members>
<Member MemberName="IfMatch">
<MemberSignature Language="C#" Value="IfMatch" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Azure.Documents.Client.AccessConditionType IfMatch = int32(0)" />
<MemberSignature Language="DocId" Value="F:Microsoft.Azure.Documents.Client.AccessConditionType.IfMatch" />
<MemberType>Field</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.Client.AccessConditionType</ReturnType>
</ReturnValue>
<Docs>
<summary>
Check if the resource's ETag value matches the ETag value performed.
</summary>
<remarks>
Used for optimistic concurrency control, e.g., replace the document only if the ETag is identical to the one
included in the request to avoid lost updates.
</remarks>
</Docs>
</Member>
<Member MemberName="IfNoneMatch">
<MemberSignature Language="C#" Value="IfNoneMatch" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Azure.Documents.Client.AccessConditionType IfNoneMatch = int32(1)" />
<MemberSignature Language="DocId" Value="F:Microsoft.Azure.Documents.Client.AccessConditionType.IfNoneMatch" />
<MemberType>Field</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.Client.AccessConditionType</ReturnType>
</ReturnValue>
<Docs>
<summary>
Check if the resource's ETag value does not match ETag value performed.
</summary>
<remarks>
Used for caching scenarios to reduce network traffic, e.g., return the document in the payload only if the ETag
has changed from the one in the request.
</remarks>
</Docs>
</Member>
</Members>
</Type>