Esempio n. 1
0
 public ExportStatusInquiryMethod(
     ExportStatusInquiry Cdo,
     ExportStatusInquiryMethods Method,
     ExportStatusInquiry_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Esempio n. 2
0
        public ResultStatus GetWIPMsgs(
            ExportStatusInquiry exportStatusInquiry,
            ExportStatusInquiry_Parameters parameters,
            ExportStatusInquiry_Request request,
            out ExportStatusInquiry_Result result)
        {
            result = (ExportStatusInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)exportStatusInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IExportStatusInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, exportStatusInquiry, parameters, request, out result) : this.AddMethod((Method) new ExportStatusInquiryMethod(exportStatusInquiry, ExportStatusInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)exportStatusInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }