예제 #1
0
 public V4_SecurityAuditTrailInquiryMethod(
     V4_SecurityAuditTrailInquiry Cdo,
     V4_SecurityAuditTrailInquiryMethods Method,
     V4_SecurityAuditTrailInquiry_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
예제 #2
0
        public ResultStatus GetAuditTrailHeaders(
            V4_SecurityAuditTrailInquiry v4_SecurityAuditTrailInquiry,
            V4_SecurityAuditTrailInquiry_Parameters parameters,
            V4_SecurityAuditTrailInquiry_Request request,
            out V4_SecurityAuditTrailInquiry_Result result)
        {
            result = (V4_SecurityAuditTrailInquiry_Result)null;
            this.OnBeforeCall(nameof(GetAuditTrailHeaders), (DCObject)v4_SecurityAuditTrailInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IV4_SecurityAuditTrailInquiryService)this._Channel).GetAuditTrailHeaders(this._UserProfile, v4_SecurityAuditTrailInquiry, parameters, request, out result) : this.AddMethod((Method) new V4_SecurityAuditTrailInquiryMethod(v4_SecurityAuditTrailInquiry, V4_SecurityAuditTrailInquiryMethods.GetAuditTrailHeaders, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetAuditTrailHeaders), res, (DCObject)v4_SecurityAuditTrailInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }