WorkflowRuntimeServiceElement Class

WorkflowRuntimeServiceElement Class

Represents a configuration element for a service to be added to the workflow runtime engine.

Namespace:  System.Workflow.Runtime.Configuration
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)

public class WorkflowRuntimeServiceElement : ConfigurationElement

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)



Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

© 2016 Microsoft