コード例 #1
0
 public ResultStatus LoadESigDetails(
     EnterpriseMaint enterpriseMaint,
     EnterpriseMaint_Request request,
     out EnterpriseMaint_Result result)
 {
     return(this.LoadESigDetails(enterpriseMaint, (EnterpriseMaint_LoadESigDetails_Parameters)null, request, out result));
 }
コード例 #2
0
 public ResultStatus Freeze(
     EnterpriseMaint enterpriseMaint,
     EnterpriseMaint_Request request,
     out EnterpriseMaint_Result result)
 {
     return(this.Freeze(enterpriseMaint, (EnterpriseMaint_Parameters)null, request, out result));
 }
コード例 #3
0
 public ResultStatus GetWIPMsgs(
     EnterpriseMaint enterpriseMaint,
     EnterpriseMaint_Request request,
     out EnterpriseMaint_Result result)
 {
     return(this.GetWIPMsgs(enterpriseMaint, (EnterpriseMaint_Parameters)null, request, out result));
 }
コード例 #4
0
 public ResultStatus GetEnvironment(
     EnterpriseMaint cdo,
     EnterpriseMaint_Request request,
     out EnterpriseMaint_Result result)
 {
     result = (EnterpriseMaint_Result)null;
     try
     {
         return(((IEnterpriseMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #5
0
 public ResultStatus CommitTransaction(
     EnterpriseMaint_Request request,
     out EnterpriseMaint_Result result)
 {
     result = (EnterpriseMaint_Result)null;
     try
     {
         EnterpriseMaintMethod[] methods = new EnterpriseMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IEnterpriseMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #6
0
        public ResultStatus ExecuteTransaction(
            EnterpriseMaint cdo,
            EnterpriseMaint_Request request,
            out EnterpriseMaint_Result result)
        {
            result = (EnterpriseMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IEnterpriseMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new EnterpriseMaintMethod(cdo, EnterpriseMaintMethods.ExecuteTransaction, (EnterpriseMaint_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(
            EnterpriseMaint enterpriseMaint,
            EnterpriseMaint_Parameters parameters,
            EnterpriseMaint_Request request,
            out EnterpriseMaint_Result result)
        {
            result = (EnterpriseMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)enterpriseMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IEnterpriseMaintService)this._Channel).Freeze(this._UserProfile, enterpriseMaint, parameters, request, out result) : this.AddMethod((Method) new EnterpriseMaintMethod(enterpriseMaint, EnterpriseMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)enterpriseMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
コード例 #8
0
 public ResultStatus ExecuteTransaction(
     EnterpriseMaint_Request request,
     out EnterpriseMaint_Result result)
 {
     return(this.ExecuteTransaction((EnterpriseMaint)null, request, out result));
 }
コード例 #9
0
 public ResultStatus GetEnvironment(
     EnterpriseMaint_Request request,
     out EnterpriseMaint_Result result)
 {
     return(this.GetEnvironment((EnterpriseMaint)null, request, out result));
 }