简体   繁体   English

.NET工作流程问题

[英].NET Workflow issue

I am calling my WF: 我打电话给我的WF:

        Workflow1 wf = new Workflow1()
                           {
                               ChildrenOption = true,
                               Market = "english",
                               Server = new Uri("http://mysite"),
                               SPTags = dataToUpdate,
                           };
        WorkflowInvoker.Invoke(new Workflow1());

But for some reason I am getting this exception, why? 但是由于某种原因,我得到了这个例外,为什么呢? Any other way how I can invoke wf to avoid this problem? 还有其他方法可以调用wf来避免此问题吗?

Values must be bound to a non-null expression before ParallelForEach activity 
'ParallelForEach<KeyValuePair<Tuple<String,String,String>,ZalupaTag>>' can be used.

看来Workflow1中有一个ParallelForEach活动,但您没有为其提供Values属性的集合。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM