本节主要介绍InvokeMethod 调用静态方法,实例方法,params参数方法,out参数方法,ref参数方法,范型方法 本文例子下载:http://files.cnblogs.com/foundation/InvokeMethodWorkflow.rar本文例子说明 InvokeMethod 调用方法类名System.Activities.Statements.InvokeMethod文件System.Activities.dll结构说明继承 AsyncCodeActi
本节主要介绍CancellationScope在异常中的使用,以及CancellationScope在Parallel 的使用. 本文例子下载:http://files.cnblogs.com/foundation/CancellationScopeSample.rar本文例子说明 CancellationScope 取消容器类名System.Activities.Statements.CancellationScope文件System.Activities.dll结构说明继
本节主要介绍WF的异常产生方式;WF流程结束方式;以及Throw,TryCatch,Rethrow ,TerminateWorkflow 的使用 本文例子下载:http://files.cnblogs.com/foundation/ExceptionWorkflow.rar本文例子说明WF的异常产生方式与流程结束方式WF的异常可由以下方式产生使用[Throw Activity] 抛出异常使用[Throw]抛出异常,不会使宿主崩溃如果使用VS调试,不会在[Throw]处断住,异
本节主要介绍AddtoCollection<T>,RemoveFromCollection<T>,ClearCollection<T>,ExistsInCollection<T> 的使用. 本文例子下载:http://files.cnblogs.com/foundation/CollectionSample.rar本文例子说明 Collection 集合操作 AddtoCollection<T> 添加项到集
本节主要介绍Parallel,Pick,PickBranch,ParallelForEach<T> 的使用. 本文例子下载:http://files.cnblogs.com/foundation/controlActivitySample2.rar本文例子说明控制流ActivityParallel 并行容器类名System.Activities.Statements.Parallel文件System.Activities.dll结构说明继承 NativeActiv
本节主要介绍IF, Switch<T>, While, DoWhile, ForEach<T> 的使用. 本文例子下载:http://files.cnblogs.com/foundation/controlActivitySample.rar本文例子说明控制流ActivityIF 条件类名System.Activities.Statements.If文件System.Activities.dll结构说明继承 NativeActivity是一个 sealed类ov
本节主要介绍如何在WF4.0中参数与变量的使用原则与技巧,这些内容是学习WF4.0首先要掌握的 本文例子下载:http://files.cnblogs.com/foundation/VariablesAndArgumentsSample.rar本文例子说明 数据的传递 变量与参数的使用 [参数] 可以用 [表达式方式] 与 [变量]绑定[In 参数],关联变量值可传入内部;内部修改参数时,关联变量不会更改说明:1.定义一个[InChangeActivity],有一个
节主要介绍如何在WF4.0中使用参数,以及在流程启动时传入参数据在流程结束时读取参数 本文例子下载:http://files.cnblogs.com/foundation/ArgumentsSample.rar本文例子说明数据的传递 Arguments 参数Arguments 参数概述Arguments是WF的输出和输入接口,在同一个流程内,所有Activity共享一组参数.参数有如下属性:Name参数的名子Direction参数的类型InOutIn/OutProperyArgumen
本节主要介绍如何在WF4.0中使用变量,以及为变量赋值 本文例子下载:http://files.cnblogs.com/foundation/VariablesSample.rarhttp://files.cnblogs.com/foundation/AssignSample.rar数据的传递 Variable变量Variable变量System.Activities.Variable 类类名System.Activities.Statements.文件System.Activitie
本节主要介绍如何在WF4.0的流程中添加多个Activity,以及如何自定义Activity 本文例子下载:http://files.cnblogs.com/foundation/SequenceSample.rarhttp://files.cnblogs.com/foundation/CodeActivitySample.rar 目录1 顺序容器Sequence 与CodeActivity &n