public ChangePackagePriorityMaintMethod( ChangePackagePriorityMaint Cdo, ChangePackagePriorityMaintMethods Method, ChangePackagePriorityMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus Freeze( ChangePackagePriorityMaint changePackagePriorityMaint, ChangePackagePriorityMaint_Parameters parameters, ChangePackagePriorityMaint_Request request, out ChangePackagePriorityMaint_Result result) { result = (ChangePackagePriorityMaint_Result)null; this.OnBeforeCall(nameof(Freeze), (DCObject)changePackagePriorityMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IChangePackagePriorityMaintService)this._Channel).Freeze(this._UserProfile, changePackagePriorityMaint, parameters, request, out result) : this.AddMethod((Method) new ChangePackagePriorityMaintMethod(changePackagePriorityMaint, ChangePackagePriorityMaintMethods.Freeze, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Freeze), res, (DCObject)changePackagePriorityMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }