コード例 #1
0
 public ResultStatus LoadESigDetails(
     FTPTransportMaint fTPTransportMaint,
     FTPTransportMaint_Request request,
     out FTPTransportMaint_Result result)
 {
     return(this.LoadESigDetails(fTPTransportMaint, (FTPTransportMaint_LoadESigDetails_Parameters)null, request, out result));
 }
コード例 #2
0
 public ResultStatus Freeze(
     FTPTransportMaint fTPTransportMaint,
     FTPTransportMaint_Request request,
     out FTPTransportMaint_Result result)
 {
     return(this.Freeze(fTPTransportMaint, (FTPTransportMaint_Parameters)null, request, out result));
 }
コード例 #3
0
 public ResultStatus GetWIPMsgs(
     FTPTransportMaint fTPTransportMaint,
     FTPTransportMaint_Request request,
     out FTPTransportMaint_Result result)
 {
     return(this.GetWIPMsgs(fTPTransportMaint, (FTPTransportMaint_Parameters)null, request, out result));
 }
コード例 #4
0
 public ResultStatus GetEnvironment(
     FTPTransportMaint cdo,
     FTPTransportMaint_Request request,
     out FTPTransportMaint_Result result)
 {
     result = (FTPTransportMaint_Result)null;
     try
     {
         return(((IFTPTransportMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #5
0
 public ResultStatus CommitTransaction(
     FTPTransportMaint_Request request,
     out FTPTransportMaint_Result result)
 {
     result = (FTPTransportMaint_Result)null;
     try
     {
         FTPTransportMaintMethod[] methods = new FTPTransportMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IFTPTransportMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #6
0
        public ResultStatus ExecuteTransaction(
            FTPTransportMaint cdo,
            FTPTransportMaint_Request request,
            out FTPTransportMaint_Result result)
        {
            result = (FTPTransportMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IFTPTransportMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new FTPTransportMaintMethod(cdo, FTPTransportMaintMethods.ExecuteTransaction, (FTPTransportMaint_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(
            FTPTransportMaint fTPTransportMaint,
            FTPTransportMaint_Parameters parameters,
            FTPTransportMaint_Request request,
            out FTPTransportMaint_Result result)
        {
            result = (FTPTransportMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)fTPTransportMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IFTPTransportMaintService)this._Channel).Freeze(this._UserProfile, fTPTransportMaint, parameters, request, out result) : this.AddMethod((Method) new FTPTransportMaintMethod(fTPTransportMaint, FTPTransportMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)fTPTransportMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
コード例 #8
0
 public ResultStatus ExecuteTransaction(
     FTPTransportMaint_Request request,
     out FTPTransportMaint_Result result)
 {
     return(this.ExecuteTransaction((FTPTransportMaint)null, request, out result));
 }
コード例 #9
0
 public ResultStatus GetEnvironment(
     FTPTransportMaint_Request request,
     out FTPTransportMaint_Result result)
 {
     return(this.GetEnvironment((FTPTransportMaint)null, request, out result));
 }