Пример #1
0
 protected override void InternalBeginProcessing()
 {
     TaskLogger.LogEnter();
     base.InternalBeginProcessing();
     MultiLinkSyncHelper.ValidateIncompatibleParameters(base.Fields, this.GetIncompatibleParametersDictionary(), new Task.ErrorLoggerDelegate(base.ThrowTerminatingError));
     TaskLogger.LogExit();
 }
Пример #2
0
        protected override void InternalBeginProcessing()
        {
            TaskLogger.LogEnter();
            base.InternalBeginProcessing();
            MultiLinkSyncHelper.ValidateIncompatibleParameters(base.Fields, this.GetIncompatibleParametersDictionary(), new Task.ErrorLoggerDelegate(base.ThrowTerminatingError));
            SyncMailbox syncMailbox = (SyncMailbox)this.GetDynamicParameters();

            if (syncMailbox.IsModified(SyncMailboxSchema.CountryOrRegion) && (syncMailbox.IsModified(SyncMailboxSchema.C) || syncMailbox.IsModified(SyncMailboxSchema.Co) || syncMailbox.IsModified(SyncMailboxSchema.CountryCode)))
            {
                base.WriteError(new RecipientTaskException(Strings.ErrorConflictCountryOrRegion), ExchangeErrorCategory.Client, null);
            }
            TaskLogger.LogExit();
        }