public NCRHistoryInquiryMethod( NCRHistoryInquiry Cdo, NCRHistoryInquiryMethods Method, NCRHistoryInquiry_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus GetWIPMsgs( NCRHistoryInquiry nCRHistoryInquiry, NCRHistoryInquiry_Parameters parameters, NCRHistoryInquiry_Request request, out NCRHistoryInquiry_Result result) { result = (NCRHistoryInquiry_Result)null; this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)nCRHistoryInquiry, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((INCRHistoryInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, nCRHistoryInquiry, parameters, request, out result) : this.AddMethod((Method) new NCRHistoryInquiryMethod(nCRHistoryInquiry, NCRHistoryInquiryMethods.GetWIPMsgs, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)nCRHistoryInquiry, (Parameters)parameters, (Request)request, (Result)result); } return(res); }