As we know that parallel will not finish execution until all its child branches finished. Sometimes, we want to break the parallel if one of its branch finished execution and cancel other branches. To do this, we can use CancellationScope activity. In this sample, we want to order products from two ... [More]
29. November 2009
DotNet , WF4
TypeConverter will be used in WF4. this sample demonstrate how to use TypeConverter in imperative code. Main Program: Person Class: Converter: Result: For more info about TypeConverter and TypeDescriptor please check these links: http://msdn.microsoft.com/en-us/library/system.componentmodel.... [More]
We can use InArgument to pass values to workflow when an activity start executing, and use OutArgument to pass values out from an activity when it is finished. Check this. Now, we want to pass values to an activity when it IS executing. we can use bookmark to handle this job. My custom ReadLine... [More]
Workflow Manager,by which we can call GetWF() to get a workflow instance.
How to pass parameters into workflow when started.
How to pass result out when workflow finished.
Solution: Use Arguments