WorkflowRuntimeElement Class
Represents a configuration element that specifies settings for an instance of WorkflowRuntime for hosting workflow-based Windows Communication Foundation (WCF) services.
Assembly: System.WorkflowServices (in System.WorkflowServices.dll)
To enable or disable one of the ServiceDebugElement features using a configuration file, you must:
Add a behavior configuration attribute to the service element of your WCF service. Endpoint behaviors are configured on endpoint elements; service behaviors are configured on service elements.
Create a serviceBehaviors section, and add a behavior element with the name that corresponds to the behaviorConfiguration attribute value from step 1.
Add a serviceDebug element to the behavior element from step 2, and enable or disable the various properties as needed.
<serviceBehaviors>
<behavior name="ServiceBehavior">
<workflowRuntime name="WorkflowServiceHostRuntime" validateOnCreate="true" enablePerformanceCounters="true">
<services>
<add type="NetFx.Checkin.Scenario.WorkflowServices.WorkflowBasedServices.Common.TestPersistenceService.FilePersistenceService, NetFx.Checkin.Scenario.WorkflowServices.WorkflowBasedServices.Common"/>
</services>
</workflowRuntime>
</behavior>
</serviceBehaviors>
System.Configuration.ConfigurationElement
System.ServiceModel.Configuration.ServiceModelExtensionElement
System.ServiceModel.Configuration.BehaviorExtensionElement
System.ServiceModel.Configuration.WorkflowRuntimeElement
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.