ConflictResolutionPolicy 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.
Represents the conflict resolution policy configuration for specifying how to resolve conflicts in case writes from different regions result in conflicts on items in the container in the Azure Cosmos DB service.
public class ConflictResolutionPolicy
type ConflictResolutionPolicy = class
Public Class ConflictResolutionPolicy
- Inheritance
-
ConflictResolutionPolicy
Constructors
ConflictResolutionPolicy() |
Initializes a new instance of the ConflictResolutionPolicy class for the Azure Cosmos DB service. |
Properties
Mode |
Gets or sets the ConflictResolutionMode in the Azure Cosmos DB service. By default it is LastWriterWins. |
ResolutionPath |
Gets or sets the path which is present in each item in the Azure Cosmos DB service for last writer wins conflict-resolution. This path must be present in each item and must be an integer value. In case of a conflict occurring on a item, the item with the higher integer value in the specified path will be picked. If the path is unspecified, by default the time stamp path will be used. |
ResolutionProcedure |
Gets or sets the StoredProcedureProperties which is used for conflict resolution in the Azure Cosmos DB service. This stored procedure may be created after the Container is created and can be changed as required. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기