WorkflowInspectionServices.Resolve(Activity, String) Method

Definition

Returns the activity with the specified id from the specified activity tree.

C#
public static System.Activities.Activity Resolve(System.Activities.Activity root, string id);

Parameters

root
Activity

The activity tree to search.

id
String

The identifier of the activity to find.

Returns

The specified activity if found; otherwise, an ArgumentException is thrown.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1