WorkflowRuntimeServiceElement Class
Represents a configuration element for a service to be added to the workflow runtime engine.
Assembly: System.Workflow.Runtime (in System.Workflow.Runtime.dll)
A WorkflowRuntimeServiceElement specifies a host service that should be initialized and activated by the workflow runtime engine. It corresponds to a host service specified in the <Services> element in a configuration file. Because the service specified in a WorkflowRuntimeServiceElement will be initialized by the workflow runtime engine it must have at least one constructor that matches one of the following four signatures (the workflow runtime engine will try to match these signatures in the order shown):
Service(WorkflowRuntime runtime, NameValueCollection parameters)
Service(WorkflowRuntime runtime)
Service(NameValueCollection parameters)
Service()
System.Configuration.ConfigurationElement
System.Workflow.Runtime.Configuration.WorkflowRuntimeServiceElement
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.