: super()
 {
     this.serviceResponse = serviceResponse;
     this.errors          = serviceResponse.Errors;
     for (RuleOperationError error in this.errors)
     {
         error.SetOperationByIndex(ruleOperations);
     }
 }
 /// <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();
 }
Beispiel #4
0
     : super()
 {
     this.errors = new RuleOperationErrorCollection();
 }
     : super(info, context)
 {
     this.serviceResponse = (ServiceResponse)info.GetValue("ServiceResponse", typeof(ServiceResponse));
     this.errors          = (RuleOperationErrorCollection)info.GetValue("Errors", typeof(RuleOperationErrorCollection));
 }