Uredi

Deli z drugimi prek


WorkflowDebuggerSteppingOption Enum

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Specifies how the workflow debugger will step through concurrently executing child activities of a composite activity.

public enum class WorkflowDebuggerSteppingOption
public enum WorkflowDebuggerSteppingOption
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public enum WorkflowDebuggerSteppingOption
type WorkflowDebuggerSteppingOption = 
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowDebuggerSteppingOption = 
Public Enum WorkflowDebuggerSteppingOption
Inheritance
WorkflowDebuggerSteppingOption
Attributes

Fields

Name Value Description
Sequential 0

The child activities will be debugged sequentially.

Concurrent 1

The child activities will be debugged concurrently.

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

This enumeration is used with the WorkflowDebuggerSteppingAttribute attribute to define the following two behaviors:

  • Concurrent stepping. This mode of stepping enables you to step through and debug concurrently executing activities in the workflow. With this option, you will notice that a change in control occurs when concurrently executing activities run within the workflow.

  • Sequential stepping. This mode of stepping enables you to step through and debug a particular branch of a composite activity, such as the ParallelActivity or the ConditionedActivityGroup activity. When you use this option to debug, you will not notice that a change in control occurs due to concurrent execution of other activities in the workflow. The debugger only steps through the activities in the currently selected branch while other activities in the workflow may be executing concurrently. For example, by default, the leftmost branch in a ParallelActivity activity and the first child activity of a ConditionedActivityGroup activity are used for stepping. If you are interested in debugging any other branch or child activity, an explicit breakpoint must be placed on that branch or child activity. Stepping continues in that branch when the breakpoint is triggered.

Applies to