/// <summary>
 /// Initializes a new instance of the <see cref="UpdateInboxRulesException"/> class.
 /// </summary>
 /// <param name="serviceResponse">The rule operation service response.</param>
 /// <param name="ruleOperations">The original operations.</param>
 internal UpdateInboxRulesException(UpdateInboxRulesResponse serviceResponse, IEnumerator<RuleOperation> ruleOperations)
     : base()
 {
     this.serviceResponse = serviceResponse;
     this.errors = serviceResponse.Errors;
     foreach (RuleOperationError error in this.errors)
     {
         error.SetOperationByIndex(ruleOperations);
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateInboxRulesResponse"/> class.
 /// </summary>
 internal UpdateInboxRulesResponse()
     : base()
 {
     this.errors = new RuleOperationErrorCollection();
 }