protected override void ValidateRead(List <ValidationError> errors) { if (this.ReportDestination == SmtpAddress.Empty) { errors.Add(new RulePhrase.RulePhraseValidationError(RulesTasksStrings.ArgumentNotSet, base.Name)); return; } if (this.IncidentReportOriginalMail == IncidentReportOriginalMail.DoNotIncludeOriginalMail) { if (this.IncidentReportContent.Any((IncidentReportContent reportContent) => reportContent == Microsoft.Exchange.MessagingPolicies.Rules.IncidentReportContent.AttachOriginalMail)) { errors.Add(new RulePhrase.RulePhraseValidationError(RulesTasksStrings.IncidentReportConflictingParameters("IncidentReportOriginalMail", "IncidentReportContent"), base.Name)); } } base.ValidateRead(errors); }