无法从Xoml创建状态机Wrokflow! “无法初始化未定义有效'InitialStateName'属性的'StateMachineWorkflowActivity'。” [英] Unable to Create state machine Wrokflow from Xoml ! "Cannot initialize 'StateMachineWorkflowActivity' that does not define a valid 'InitialStateName' property."

查看:55
本文介绍了无法从Xoml创建状态机Wrokflow! “无法初始化未定义有效'InitialStateName'属性的'StateMachineWorkflowActivity'。”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我希望尽快创建1000个工作流程实例(仅在输入中)可以使用标准方法:


  for  int  i = 0,i< 1000,i ++)
{
xomlreader = XmlReader.Create(fileName);
instance = _WorkflowRuntime.CreateWorkflow(xomlreader);
} //关闭Xml读者< / p>







解决方案

此博客文章是否回答了您的问题? http:// msmvps。 COM /博客/ theproblemsolver /存档/ 2007 /26分之11/纯XOML的工作流程 - 和 - a-定制根activity.aspx

Hello,

I've to Create 1000 workflows instance the most quickly I can with (in entry) only a xoml file.
If I use the standar method :

for (int i =0, i<1000, i++)
{
xomlreader = XmlReader.Create(fileName);
instance = _WorkflowRuntime.CreateWorkflow(xomlreader);
}//close the Xml Readers</p>

解决方案

Does this blog post answer your question?  http://msmvps.com/blogs/theproblemsolver/archive/2007/11/26/pure-xoml-workflows-and-a-custom-root-activity.aspx


这篇关于无法从Xoml创建状态机Wrokflow! “无法初始化未定义有效'InitialStateName'属性的'StateMachineWorkflowActivity'。”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆