2 using System
.ComponentModel
;
3 using System
.ComponentModel
.Design
;
4 using System
.Collections
;
6 using System
.Workflow
.ComponentModel
.Compiler
;
7 using System
.Workflow
.ComponentModel
.Serialization
;
8 using System
.Workflow
.ComponentModel
;
9 using System
.Workflow
.ComponentModel
.Design
;
10 using System
.Workflow
.Runtime
;
11 using System
.Workflow
.Activities
;
12 using System
.Workflow
.Activities
.Rules
;
14 namespace Microsoft
.ServiceModel
.Samples
16 public partial class Workflow1
: SequentialWorkflowActivity
18 private string returnValue
;
21 public string ReturnValue
23 get { return returnValue; }
24 private set { returnValue = value; }
30 set { input = value; }
33 private void AfterInvoked(object sender
, InvokeWebServiceEventArgs e
)
35 Console
.WriteLine("Received {0} invoking WCF service from within workflow\n", this.ReturnValue
);