示例#1
0
 public ResultStatus LoadESigDetails(
     EMailDistributionMaint eMailDistributionMaint,
     EMailDistributionMaint_Request request,
     out EMailDistributionMaint_Result result)
 {
     return(this.LoadESigDetails(eMailDistributionMaint, (EMailDistributionMaint_LoadESigDetails_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus Freeze(
     EMailDistributionMaint eMailDistributionMaint,
     EMailDistributionMaint_Request request,
     out EMailDistributionMaint_Result result)
 {
     return(this.Freeze(eMailDistributionMaint, (EMailDistributionMaint_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus GetWIPMsgs(
     EMailDistributionMaint eMailDistributionMaint,
     EMailDistributionMaint_Request request,
     out EMailDistributionMaint_Result result)
 {
     return(this.GetWIPMsgs(eMailDistributionMaint, (EMailDistributionMaint_Parameters)null, request, out result));
 }
示例#4
0
 public ResultStatus GetEnvironment(
     EMailDistributionMaint cdo,
     EMailDistributionMaint_Request request,
     out EMailDistributionMaint_Result result)
 {
     result = (EMailDistributionMaint_Result)null;
     try
     {
         return(((IEMailDistributionMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#5
0
 public ResultStatus CommitTransaction(
     EMailDistributionMaint_Request request,
     out EMailDistributionMaint_Result result)
 {
     result = (EMailDistributionMaint_Result)null;
     try
     {
         EMailDistributionMaintMethod[] methods = new EMailDistributionMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IEMailDistributionMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#6
0
        public ResultStatus ExecuteTransaction(
            EMailDistributionMaint cdo,
            EMailDistributionMaint_Request request,
            out EMailDistributionMaint_Result result)
        {
            result = (EMailDistributionMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IEMailDistributionMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new EMailDistributionMaintMethod(cdo, EMailDistributionMaintMethods.ExecuteTransaction, (EMailDistributionMaint_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(ExecuteTransaction), res, (DCObject)cdo, (Parameters)null, (Request)request, (Result)result);
            }
            return(res);
        }
示例#7
0
        public ResultStatus Freeze(
            EMailDistributionMaint eMailDistributionMaint,
            EMailDistributionMaint_Parameters parameters,
            EMailDistributionMaint_Request request,
            out EMailDistributionMaint_Result result)
        {
            result = (EMailDistributionMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)eMailDistributionMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IEMailDistributionMaintService)this._Channel).Freeze(this._UserProfile, eMailDistributionMaint, parameters, request, out result) : this.AddMethod((Method) new EMailDistributionMaintMethod(eMailDistributionMaint, EMailDistributionMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)eMailDistributionMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#8
0
 public ResultStatus ExecuteTransaction(
     EMailDistributionMaint_Request request,
     out EMailDistributionMaint_Result result)
 {
     return(this.ExecuteTransaction((EMailDistributionMaint)null, request, out result));
 }
示例#9
0
 public ResultStatus GetEnvironment(
     EMailDistributionMaint_Request request,
     out EMailDistributionMaint_Result result)
 {
     return(this.GetEnvironment((EMailDistributionMaint)null, request, out result));
 }