ערוך

שתף באמצעות


WorkflowInspectionServices.Resolve(Activity, String) Method

Definition

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

public:
 static System::Activities::Activity ^ Resolve(System::Activities::Activity ^ root, System::String ^ id);
public static System.Activities.Activity Resolve (System.Activities.Activity root, string id);
static member Resolve : System.Activities.Activity * string -> System.Activities.Activity
Public Shared Function Resolve (root As Activity, id As String) As Activity

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