added samples
[windows-sources.git] / sdk / samples / CrossTechnologySamples / WFCallingWCF / workflow / workflow1.xoml.cs
blob1622f65ecf2923cc8d53a2832ca34e6e56d14ebf
1 using System;
2 using System.ComponentModel;
3 using System.ComponentModel.Design;
4 using System.Collections;
5 using System.Drawing;
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;
19 private string input;
21 public string ReturnValue
23 get { return returnValue; }
24 private set { returnValue = value; }
27 public string Input
29 get { return input; }
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);