Ejemplo n.º 1
0
 public UpdateEventDispositionsMethod(
     UpdateEventDispositions Cdo,
     UpdateEventDispositionsMethods Method,
     UpdateEventDispositions_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Ejemplo n.º 2
0
        public ResultStatus GetActions(
            UpdateEventDispositions updateEventDispositions,
            UpdateEventDispositions_Parameters parameters,
            UpdateEventDispositions_Request request,
            out UpdateEventDispositions_Result result)
        {
            result = (UpdateEventDispositions_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)updateEventDispositions, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUpdateEventDispositionsService)this._Channel).GetActions(this._UserProfile, updateEventDispositions, parameters, request, out result) : this.AddMethod((Method) new UpdateEventDispositionsMethod(updateEventDispositions, UpdateEventDispositionsMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)updateEventDispositions, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }