public NotificationTargetMaintMethod( NotificationTargetMaint Cdo, NotificationTargetMaintMethods Method, NotificationTargetMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus Freeze( NotificationTargetMaint notificationTargetMaint, NotificationTargetMaint_Parameters parameters, NotificationTargetMaint_Request request, out NotificationTargetMaint_Result result) { result = (NotificationTargetMaint_Result)null; this.OnBeforeCall(nameof(Freeze), (DCObject)notificationTargetMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((INotificationTargetMaintService)this._Channel).Freeze(this._UserProfile, notificationTargetMaint, parameters, request, out result) : this.AddMethod((Method) new NotificationTargetMaintMethod(notificationTargetMaint, NotificationTargetMaintMethods.Freeze, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Freeze), res, (DCObject)notificationTargetMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }