Conflict 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.
This is the conflicting resource resulting from a concurrent async operation in the Azure Cosmos DB service.
public class Conflict : Microsoft.Azure.Documents.Resource
type Conflict = class
inherit Resource
Public Class Conflict
Inherits Resource
- Inheritance
Remarks
On rare occasions, during an async operation (insert, replace and delete), a version conflict may occur on a resource. The conflicting resource is persisted as a Conflict resource. Inspecting Conflict resources will allow you to determine which operations and resources resulted in conflicts.
Constructors
Conflict() |
Initialize a new instance of a Conflict class in the Azure Cosmos DB service. |
Properties
AltLink |
Gets the alt-link associated with the resource from the Azure Cosmos DB service. (Inherited from Resource) |
ETag |
Gets the entity tag associated with the resource from the Azure Cosmos DB service. (Inherited from Resource) |
Id |
Gets or sets the Id of the resource in the Azure Cosmos DB service. (Inherited from Resource) |
OperationKind |
Gets the operation that resulted in the conflict in the Azure Cosmos DB service. |
ResourceId |
Gets or sets the Resource Id associated with the resource in the Azure Cosmos DB service. (Inherited from Resource) |
ResourceType |
Gets the type of the conflicting resource in the Azure Cosmos DB service. |
SelfLink |
Gets the self-link associated with the resource from the Azure Cosmos DB service. (Inherited from Resource) |
SourceResourceId |
Gets the resource ID for the conflict in the Azure Cosmos DB service. |
Timestamp |
Gets the last modified timestamp associated with the resource from the Azure Cosmos DB service. (Inherited from Resource) |
Methods
GetPropertyValue<T>(String) |
Gets property value associated with the specified property name from the Azure Cosmos DB service. (Inherited from Resource) |
GetResource<T>() |
Gets the conflicting resource in the Azure Cosmos DB service. |
LoadFrom(JsonReader) |
Loads the object from the specified JSON reader in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
LoadFrom(JsonReader, JsonSerializerSettings) |
Loads the object from the specified JSON reader in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
SaveTo(Stream, SerializationFormattingPolicy) |
Saves the object to the specified stream in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
SaveTo(Stream, SerializationFormattingPolicy, JsonSerializerSettings) |
Saves the object to the specified stream in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
SetPropertyValue(String, Object) |
Sets property value associated with the specified property name in the Azure Cosmos DB service. (Inherited from Resource) |
ToByteArray() |
Serialize to a byte array via SaveTo for the Azure Cosmos DB service. (Inherited from Resource) |
ToString() |
Returns the string representation of the object in the Azure Cosmos DB service. (Inherited from JsonSerializable) |