예제 #1
0
 public ResultStatus LoadESigDetails(
     MSMQTransportMaint mSMQTransportMaint,
     MSMQTransportMaint_Request request,
     out MSMQTransportMaint_Result result)
 {
     return(this.LoadESigDetails(mSMQTransportMaint, (MSMQTransportMaint_LoadESigDetails_Parameters)null, request, out result));
 }
예제 #2
0
 public ResultStatus Freeze(
     MSMQTransportMaint mSMQTransportMaint,
     MSMQTransportMaint_Request request,
     out MSMQTransportMaint_Result result)
 {
     return(this.Freeze(mSMQTransportMaint, (MSMQTransportMaint_Parameters)null, request, out result));
 }
예제 #3
0
 public ResultStatus GetWIPMsgs(
     MSMQTransportMaint mSMQTransportMaint,
     MSMQTransportMaint_Request request,
     out MSMQTransportMaint_Result result)
 {
     return(this.GetWIPMsgs(mSMQTransportMaint, (MSMQTransportMaint_Parameters)null, request, out result));
 }
예제 #4
0
 public ResultStatus GetEnvironment(
     MSMQTransportMaint cdo,
     MSMQTransportMaint_Request request,
     out MSMQTransportMaint_Result result)
 {
     result = (MSMQTransportMaint_Result)null;
     try
     {
         return(((IMSMQTransportMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #5
0
 public ResultStatus CommitTransaction(
     MSMQTransportMaint_Request request,
     out MSMQTransportMaint_Result result)
 {
     result = (MSMQTransportMaint_Result)null;
     try
     {
         MSMQTransportMaintMethod[] methods = new MSMQTransportMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IMSMQTransportMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #6
0
        public ResultStatus ExecuteTransaction(
            MSMQTransportMaint cdo,
            MSMQTransportMaint_Request request,
            out MSMQTransportMaint_Result result)
        {
            result = (MSMQTransportMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IMSMQTransportMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new MSMQTransportMaintMethod(cdo, MSMQTransportMaintMethods.ExecuteTransaction, (MSMQTransportMaint_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(
            MSMQTransportMaint mSMQTransportMaint,
            MSMQTransportMaint_Parameters parameters,
            MSMQTransportMaint_Request request,
            out MSMQTransportMaint_Result result)
        {
            result = (MSMQTransportMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)mSMQTransportMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IMSMQTransportMaintService)this._Channel).Freeze(this._UserProfile, mSMQTransportMaint, parameters, request, out result) : this.AddMethod((Method) new MSMQTransportMaintMethod(mSMQTransportMaint, MSMQTransportMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)mSMQTransportMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
예제 #8
0
 public ResultStatus ExecuteTransaction(
     MSMQTransportMaint_Request request,
     out MSMQTransportMaint_Result result)
 {
     return(this.ExecuteTransaction((MSMQTransportMaint)null, request, out result));
 }
예제 #9
0
 public ResultStatus GetEnvironment(
     MSMQTransportMaint_Request request,
     out MSMQTransportMaint_Result result)
 {
     return(this.GetEnvironment((MSMQTransportMaint)null, request, out result));
 }