/// <summary>
        /// Initializes a new instance of the <see cref="UpdateItemConfig"/> class with the
        /// specified values.
        /// </summary>
        /// <param name="maxRetries">
        /// The maximum number of retries the update operation should make.
        /// </param>
        /// <param name="conflictHandling">The conflict handling which should be used.</param>
        public UpdateItemConfig(int maxRetries, VersionConflictHandling conflictHandling)
        {
            if (maxRetries < 0)
            {
                throw new ArgumentException("maxRetries must be greater than or equal to 0.");
            }

            this.MaxRetries = maxRetries;

            this.VersionConflictOperation = conflictHandling;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="UpdateItemConfig"/> class with the
        /// specified values.
        /// </summary>
        /// <param name="maxRetries">
        /// The maximum number of retries the update operation should make.
        /// </param>
        /// <param name="conflictHandling">The conflict handling which should be used.</param>
        public UpdateItemConfig(int maxRetries, VersionConflictHandling conflictHandling)
        {
            if (maxRetries < 0)
            {
                throw new ArgumentException("maxRetries must be greater than or equal to 0.");
            }

            this.MaxRetries = maxRetries;

            this.VersionConflictOperation = conflictHandling;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateItemConfig"/> class with default
 /// value for max retries.
 /// </summary>
 /// <param name="conflictHandling">The conflict handling which should be used.</param>
 public UpdateItemConfig(VersionConflictHandling conflictHandling)
     : this()
 {
     this.VersionConflictOperation = conflictHandling;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateItemConfig"/> class with default
 /// value for max retries.
 /// </summary>
 /// <param name="conflictHandling">The conflict handling which should be used.</param>
 public UpdateItemConfig(VersionConflictHandling conflictHandling)
     : this()
 {
     this.VersionConflictOperation = conflictHandling;
 }