public FailureSeverityMaintMethod( FailureSeverityMaint Cdo, FailureSeverityMaintMethods Method, FailureSeverityMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus Freeze( FailureSeverityMaint failureSeverityMaint, FailureSeverityMaint_Parameters parameters, FailureSeverityMaint_Request request, out FailureSeverityMaint_Result result) { result = (FailureSeverityMaint_Result)null; this.OnBeforeCall(nameof(Freeze), (DCObject)failureSeverityMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IFailureSeverityMaintService)this._Channel).Freeze(this._UserProfile, failureSeverityMaint, parameters, request, out result) : this.AddMethod((Method) new FailureSeverityMaintMethod(failureSeverityMaint, FailureSeverityMaintMethods.Freeze, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Freeze), res, (DCObject)failureSeverityMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }