WF Runtime Service Parameters

Published 01 June 07 12:08 AM

One thing that I dig about WF is that you can configure the runtime services both imperatively through code and declaratively through the application configuration file.  One thing that I did find a little confusing, however, was in determining what the specific parameters were for the different providers.  For example, consider the following example.

<Services>
    <add type="System.Workflow.Runtime.Hosting.ManualWorkflowSchedulerService, 
        System.Workflow.Runtime, 
        Version=3.0.0.0, 
        Culture=neutral, 
        PublicKeyToken=31bf3856ad364e35"
        useActiveTimers="true"/>
</Services>
 
Where did the "useActiveTimers" parameter come from?  It's not part of any XML schema that I have found - and doing a quick web search didn't give me much of a master list either.  I finally resorted to using Reflector to inspect the loader.  Anyway, here's the list of parameters for the built in providers.
  • ManualWorkflowSchedulerService
    • UseActiveTimers
  • DefaultWorkflowSchedulerService
    • maxSimultaneousWorkflows
  • SqlWorkflowPersistenceService
    • ConnectionString
    • OwnershipTimeoutSeconds
    • UnloadOnIdle
    • LoadIntervalSeconds
    • EnableRetries
  • DefaultWorkflowCommitWorkBatchService
    • EnableRetries
  • SharedConnectionWorkflowCommitWorkBatchService
    • EnableRetries
  • SqlTrackingService
    • IsTransactional
    • UseDefaultProfile
    • PartitionOnCompletion
    • ProfileChangeCheckInterval
    • ConnectionString
    • EnableRetries

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

About hdierking

I am currently the Editor-in-Chief for MSDN Magazine. I joined Microsoft in 2006 as a product planner with the certification team at Microsoft Learning. Prior to that, I spent my career as a developer and later as an architect. My main technology passions include pretty much anything on language theory, agile development, and service-oriented architecture.
Page view tracker