csharp System.Workflow.ComponentModel.CompositeActivity.CanModifyActivities类(方法)实例源码

下面列出了csharp System.Workflow.ComponentModel.CompositeActivity.CanModifyActivities 类(方法)源码代码实例,从而了解它的用法。

作者:.NET开发    项目:System.Workflow.ComponentMode   
this.CanModifyActivities = true;
System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
this.throwActivity1 = new System.Workflow.ComponentModel.ThrowActivity();
activitybind1.Name = "ThrowWorkflow";
activitybind1.Path = "ThrownException";
// 
// throwActivity1
// 
this.throwActivity1.Name = "throwActivity1";
this.throwActivity1.SetBinding(System.Workflow.ComponentModel.ThrowActivity.FaultProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
// 
// ThrowWorkflow
// 
this.Activities.Add(this.throwActivity1);
this.Name = "ThrowWorkflow";
this.CanModifyActivities = false;


问题


面经


文章

微信
公众号

扫码关注公众号