Example #1
0
 public ResultStatus LoadESigDetails(
     SMTPTransportMaint sMTPTransportMaint,
     SMTPTransportMaint_Request request,
     out SMTPTransportMaint_Result result)
 {
     return(this.LoadESigDetails(sMTPTransportMaint, (SMTPTransportMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus Freeze(
     SMTPTransportMaint sMTPTransportMaint,
     SMTPTransportMaint_Request request,
     out SMTPTransportMaint_Result result)
 {
     return(this.Freeze(sMTPTransportMaint, (SMTPTransportMaint_Parameters)null, request, out result));
 }
Example #3
0
 public ResultStatus GetWIPMsgs(
     SMTPTransportMaint sMTPTransportMaint,
     SMTPTransportMaint_Request request,
     out SMTPTransportMaint_Result result)
 {
     return(this.GetWIPMsgs(sMTPTransportMaint, (SMTPTransportMaint_Parameters)null, request, out result));
 }
Example #4
0
 public ResultStatus GetEnvironment(
     SMTPTransportMaint cdo,
     SMTPTransportMaint_Request request,
     out SMTPTransportMaint_Result result)
 {
     result = (SMTPTransportMaint_Result)null;
     try
     {
         return(((ISMTPTransportMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #5
0
 public ResultStatus CommitTransaction(
     SMTPTransportMaint_Request request,
     out SMTPTransportMaint_Result result)
 {
     result = (SMTPTransportMaint_Result)null;
     try
     {
         SMTPTransportMaintMethod[] methods = new SMTPTransportMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ISMTPTransportMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #6
0
        public ResultStatus ExecuteTransaction(
            SMTPTransportMaint cdo,
            SMTPTransportMaint_Request request,
            out SMTPTransportMaint_Result result)
        {
            result = (SMTPTransportMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISMTPTransportMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new SMTPTransportMaintMethod(cdo, SMTPTransportMaintMethods.ExecuteTransaction, (SMTPTransportMaint_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);
        }
Example #7
0
        public ResultStatus Freeze(
            SMTPTransportMaint sMTPTransportMaint,
            SMTPTransportMaint_Parameters parameters,
            SMTPTransportMaint_Request request,
            out SMTPTransportMaint_Result result)
        {
            result = (SMTPTransportMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)sMTPTransportMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISMTPTransportMaintService)this._Channel).Freeze(this._UserProfile, sMTPTransportMaint, parameters, request, out result) : this.AddMethod((Method) new SMTPTransportMaintMethod(sMTPTransportMaint, SMTPTransportMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)sMTPTransportMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #8
0
 public ResultStatus ExecuteTransaction(
     SMTPTransportMaint_Request request,
     out SMTPTransportMaint_Result result)
 {
     return(this.ExecuteTransaction((SMTPTransportMaint)null, request, out result));
 }
Example #9
0
 public ResultStatus GetEnvironment(
     SMTPTransportMaint_Request request,
     out SMTPTransportMaint_Result result)
 {
     return(this.GetEnvironment((SMTPTransportMaint)null, request, out result));
 }