Click here to Skip to main content
15,892,768 members
Articles / Programming Languages / C#

Windows Workflow Foundation: Say Hello to Tracking Service !!

Rate me:
Please Sign up or sign in to vote.
3.19/5 (22 votes)
15 Jan 2009GPL34 min read 95.4K   589   34  
This article explains the intricacies of implementing a custom tracking service in Windows Workflow Foundation.
using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Reflection;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace CustomTrackingService
{
	partial class SayHiWorkFlow
	{
		#region Designer generated code
		
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
		private void InitializeComponent()
		{
            this.CanModifyActivities = true;
            this.printHi = new System.Workflow.Activities.CodeActivity();
            // 
            // printHi
            // 
            this.printHi.Name = "printHi";
            this.printHi.ExecuteCode += new System.EventHandler(this.printHi_ExecuteCode);
            // 
            // SimpleWorkFlow
            // 
            this.Activities.Add(this.printHi);
            this.Name = "SimpleWorkFlow";
            this.CanModifyActivities = false;

		}

		#endregion

        private CodeActivity printHi;
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Software Developer (Senior)
India India
Akshay loves exploring new technologies. C# is his preferred mode of expression.

Comments and Discussions