示例#1
0
 public ResultStatus LoadESigDetails(
     WebServiceTransportMaint webServiceTransportMaint,
     WebServiceTransportMaint_Request request,
     out WebServiceTransportMaint_Result result)
 {
     return(this.LoadESigDetails(webServiceTransportMaint, (WebServiceTransportMaint_LoadESigDetails_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus Freeze(
     WebServiceTransportMaint webServiceTransportMaint,
     WebServiceTransportMaint_Request request,
     out WebServiceTransportMaint_Result result)
 {
     return(this.Freeze(webServiceTransportMaint, (WebServiceTransportMaint_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus GetWIPMsgs(
     WebServiceTransportMaint webServiceTransportMaint,
     WebServiceTransportMaint_Request request,
     out WebServiceTransportMaint_Result result)
 {
     return(this.GetWIPMsgs(webServiceTransportMaint, (WebServiceTransportMaint_Parameters)null, request, out result));
 }
示例#4
0
 public ResultStatus GetEnvironment(
     WebServiceTransportMaint cdo,
     WebServiceTransportMaint_Request request,
     out WebServiceTransportMaint_Result result)
 {
     result = (WebServiceTransportMaint_Result)null;
     try
     {
         return(((IWebServiceTransportMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#5
0
 public ResultStatus CommitTransaction(
     WebServiceTransportMaint_Request request,
     out WebServiceTransportMaint_Result result)
 {
     result = (WebServiceTransportMaint_Result)null;
     try
     {
         WebServiceTransportMaintMethod[] methods = new WebServiceTransportMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IWebServiceTransportMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#6
0
        public ResultStatus ExecuteTransaction(
            WebServiceTransportMaint cdo,
            WebServiceTransportMaint_Request request,
            out WebServiceTransportMaint_Result result)
        {
            result = (WebServiceTransportMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IWebServiceTransportMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new WebServiceTransportMaintMethod(cdo, WebServiceTransportMaintMethods.ExecuteTransaction, (WebServiceTransportMaint_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(
            WebServiceTransportMaint webServiceTransportMaint,
            WebServiceTransportMaint_Parameters parameters,
            WebServiceTransportMaint_Request request,
            out WebServiceTransportMaint_Result result)
        {
            result = (WebServiceTransportMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)webServiceTransportMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IWebServiceTransportMaintService)this._Channel).Freeze(this._UserProfile, webServiceTransportMaint, parameters, request, out result) : this.AddMethod((Method) new WebServiceTransportMaintMethod(webServiceTransportMaint, WebServiceTransportMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)webServiceTransportMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#8
0
 public ResultStatus ExecuteTransaction(
     WebServiceTransportMaint_Request request,
     out WebServiceTransportMaint_Result result)
 {
     return(this.ExecuteTransaction((WebServiceTransportMaint)null, request, out result));
 }
示例#9
0
 public ResultStatus GetEnvironment(
     WebServiceTransportMaint_Request request,
     out WebServiceTransportMaint_Result result)
 {
     return(this.GetEnvironment((WebServiceTransportMaint)null, request, out result));
 }