本文介绍了无法从Xoml创建状态机Wrokflow! “无法初始化未定义有效'InitialStateName'属性的'StateMachineWorkflowActivity'。”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,我希望尽快创建1000个工作流程实例(仅在输入中)可以使用标准方法:
for ( int i = 0,i< 1000,i ++)
{
xomlreader = XmlReader.Create(fileName);
instance = _WorkflowRuntime.CreateWorkflow(xomlreader);
} //关闭Xml读者< / p>
解决方案
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>
解决方案
这篇关于无法从Xoml创建状态机Wrokflow! “无法初始化未定义有效'InitialStateName'属性的'StateMachineWorkflowActivity'。”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
11-02 23:57