This documentation is archived and is not being maintained.

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
public class WorkflowRuntimeServiceElement extends ConfigurationElement
public class WorkflowRuntimeServiceElement extends ConfigurationElement
Not applicable.

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.Object
   System.Configuration.ConfigurationElement
    System.Workflow.Runtime.Configuration.WorkflowRuntimeServiceElement

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: