活动节点执行结果
Inheritance: WfExecutedResult
Exemplo n.º 1
0
        /// <summary>
        /// 创建NodeMediatedResult 对象
        /// </summary>
        /// <param name="feedback"></param>
        /// <returns></returns>
        public static WfNodeMediatedResult CreateNodeMediatedResult(WfNodeMediatedFeedback feedback)
        {
            var mediatedResult = new WfNodeMediatedResult();

            mediatedResult.Feedback = feedback;

            return(mediatedResult);
        }
Exemplo n.º 2
0
        /// <summary>
        /// 创建NodeMediatedResult 对象
        /// </summary>
        /// <param name="feedback"></param>
        /// <returns></returns>
        public static WfNodeMediatedResult CreateNodeMediatedResultWithException(WfNodeMediatedFeedback feedback)
        {
            var mediatedResult = new WfNodeMediatedResult();

            mediatedResult.Status   = WfExecutedStatus.Exception;
            mediatedResult.Feedback = feedback;

            return(mediatedResult);
        }