Пример #1
0
 public TrackTargetDeploymentMethod(
     TrackTargetDeployment Cdo,
     TrackTargetDeploymentMethods Method,
     TrackTargetDeployment_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Пример #2
0
        public ResultStatus GetActions(
            TrackTargetDeployment trackTargetDeployment,
            TrackTargetDeployment_Parameters parameters,
            TrackTargetDeployment_Request request,
            out TrackTargetDeployment_Result result)
        {
            result = (TrackTargetDeployment_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)trackTargetDeployment, (Parameters)parameters, (Request)request);
            ResultStatus res;

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