[Going deeper into WF] -- Persistence

Source: Internet
Author: User
WorkflowServiceHost class
Namespace: System. ServiceModel
Assembly: System. WorkflowServices. dll
We usually use IIS or WAS (Windows Activation Services) to expose the service. Here we use the WorkflowServiceHost class to configure and expose the workflow as a service to the client application. Of course, IIS and WAS can interact with the WorkflowServiceHost instance object.
We can use the WorkflowServiceHost instance object to load the workflow service, configure endpoints, Set application security, enable listening, and process sent requests.
Member
Constructor
WorkflowServiceHost overload. Initialize the instance of the WorkflowServiceHost class.
Method
Abort enables the communication object to immediately switch from its current state to the closing state. (Inherit from CommunicationObject)
AddBaseAddress adds a primary address to the service host. (Inherited from ServiceHostBase)
AddServiceEndpoint overload. Add a service terminal to the host service.
ApplyConfiguration loads service description information from the configuration file and applies the service to the runtime being constructed.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
SqlWorkflowInstanceStoreBehavior class
Overview: service behavior allows you to configure features of SqlWorkflowInstanceStore. These features allow you to write persistent state information of workflow service instances to ms SQL 2005 or 2008.
Namespace: System. ServiceModel. Activities. Description
Assembly: System. ServiceModel. Activities

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.