Export (0) Print
Expand All

ConditionedActivityGroup.GetChildActivityExecutedCount Method

Gets the number of times that the specified child activity has been executed.

Namespace:  System.Workflow.Activities
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

public int GetChildActivityExecutedCount(
	Activity child
)

Parameters

child
Type: System.Workflow.ComponentModel.Activity

The child activity.

Return Value

Type: System.Int32
The number of times that the specified child activity has been executed.

ExceptionCondition
ArgumentNullException

child parameter is a null reference (Nothing in Visual Basic).

InvalidOperationException

The conditioned activity group state is null.

ArgumentException

The number of times that the child activity has been run cannot be determined.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft