omar's profileWindows Workflow Foundat...PhotosBlogListsMore ![]() | Help |
Windows Workflow FoundationMicrosoft Technology. |
||||||
|
May 11 Hosting Windows Workflow FoundationintroductionA workflow and a host application can pass data between them by using parameters. On the workflow side, a parameter is a simple property that is defined in your workflow class. If a set method is defined for the property, the host application can set that property before the workflow executes by passing in a parameters collection during the CreateWorkflow method call. To return parameters back to the host application after it finishes executing, you can define a get method for the property. in this artical, create an string property named FirstName, LastName and Age as Integer. this property is passed to workflow when the report is submitted. whats the windows workflow foundation engine?The Windows Workflow Foundation runtime engine is responsible for creating and maintaining running workflow instances. To accomplish this, the runtime engine needs a host process that includes console applications, Windows Forms-based applications, ASP.NET Web sites, and Web services. Additionally, workflow-enabled applications that host the Windows Workflow Foundation runtime engine can further refine the behavior of the workflow runtime engine by using services. The base services in Windows Workflow Foundation can be configured to support transactions, persistence, tracking, threading, and scheduling. For application-specific functionality, your application can also define custom services that can be added to the runtime engine. Creating a Workflow HostThe host interacts with Windows Workflow Foundation through the WorkflowRuntime class, or a custom class that inherits from it. You create a WorkflowRuntime object and populate it with the services that you will use during the execution of your workflows. Host ResponsibilitiesHost responsibilities are as follows:
Additionally, a host might do the following:
|
|||||
|
|