Edit

Share via


ActivityValidationServices.Resolve(Activity, String) Method

Definition

Retrieves the workflow activity with the specified ID in the specified workflow.

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 root workflow activity that contains the activity element to access.

id
String

An identifier that is associated with an activity.

Returns

A workflow activity.

Applies to