コード例 #1
0
        public ActivityExceptionDocument(ActivityException activityException)
        {
            ExecutionId = activityException.ExecutionId;
            ActivityName = activityException.Name;
            Timestamp = activityException.Timestamp;

            Host = new HostDocument(activityException.Host);

            if (activityException.ExceptionInfo != null)
                ExceptionInfo = new ExceptionInfoDocument(activityException.ExceptionInfo);
        }
コード例 #2
0
        public ActivityExceptionDocument(ActivityException activityException)
        {
            ExecutionId  = activityException.ExecutionId;
            ActivityName = activityException.Name;
            Timestamp    = activityException.Timestamp;

            Host = new HostDocument(activityException.Host);

            if (activityException.ExceptionInfo != null)
            {
                ExceptionInfo = new ExceptionInfoDocument(activityException.ExceptionInfo);
            }
        }