Tuesday, October 11, 2011

InArgument and OutArgument in Workflow(WF 4)


            //Input Argument WF
            IDictionary<stringobject> inputs = new Dictionary<stringobject>
            {
                {"Person1"new Person{ Name="Tom", Age=26}}
            };
            
            //Output Argument
            IDictionary<string,object> outputs=WorkflowInvoker.Invoke(new Activity1(),inputs);
            Console.WriteLine(outputs["Accepted"].ToString());




No comments:

Post a Comment