WorkflowRuntime Constructor (String)
Initializes a new instance of the WorkflowRuntime class by using the specified section of the application configuration file.
Assembly: System.Workflow.Runtime (in System.Workflow.Runtime.dll)
The WorkflowRuntime is initialized according to the settings in the section specified by configSectionName in the application configuration file. configSectionName must correspond to a valid workflowSettings section of a configuration file.
When the workflow run-time engine is configured by using an application configuration file, it loads and instantiates classes of the types listed in the Services section of the configuration file. When the workflow run-time engine constructs these classes it looks for class constructors with the following signatures in the following order:
Service(WorkflowRuntime runtime, NameValueCollection parameters)
All service classes that are loaded from a configuration file must implement at least one of these constructor signatures.
For more information, see WorkflowRuntimeSection.