public WebServiceTransportMaintMethod( WebServiceTransportMaint Cdo, WebServiceTransportMaintMethods Method, WebServiceTransportMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus Freeze( WebServiceTransportMaint webServiceTransportMaint, WebServiceTransportMaint_Parameters parameters, WebServiceTransportMaint_Request request, out WebServiceTransportMaint_Result result) { result = (WebServiceTransportMaint_Result)null; this.OnBeforeCall(nameof(Freeze), (DCObject)webServiceTransportMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IWebServiceTransportMaintService)this._Channel).Freeze(this._UserProfile, webServiceTransportMaint, parameters, request, out result) : this.AddMethod((Method) new WebServiceTransportMaintMethod(webServiceTransportMaint, WebServiceTransportMaintMethods.Freeze, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Freeze), res, (DCObject)webServiceTransportMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }