Inheritance: System.Workflow.Activities.CallExternalMethodActivity
Ejemplo n.º 1
0
        public WorkFlowCallExternal()
        {
            CreateDocument   createDocument1 = new CreateDocument();
            CorrelationToken correlator1     = new CorrelationToken();

            CanModifyActivities = true;
            Name = "WorkFlowCallExternal";


            correlator1.Name = "c1";
            correlator1.OwnerActivityName    = "WorkFlowCallExternal";
            createDocument1.CorrelationToken = correlator1;
            createDocument1.Name             = "createDocument1";
            createDocument1.DocumentId       = "First";
            createDocument1.Text             = "Joan Martinez";

            Activities.Add(createDocument1);
            CanModifyActivities = false;
        }
		public WorkFlowCallExternal ()
		{
			CreateDocument createDocument1 = new CreateDocument ();
			CorrelationToken correlator1 = new CorrelationToken ();

			CanModifyActivities = true;
			Name = "WorkFlowCallExternal";

			
			correlator1.Name = "c1";
			correlator1.OwnerActivityName = "WorkFlowCallExternal";
			createDocument1.CorrelationToken = correlator1;
			createDocument1.Name = "createDocument1";
			createDocument1.DocumentId = "First";
			createDocument1.Text = "Joan Martinez";

			Activities.Add (createDocument1);
            		CanModifyActivities = false;
		}