PSWorkflowValidator.ValidateWorkflow(Activity, String) Method

Definition

Validate the workflow, if it is using the allowed activities.

public:
 System::Activities::Validation::ValidationResults ^ ValidateWorkflow(System::Activities::Activity ^ workflow, System::String ^ runtimeAssembly);
public System.Activities.Validation.ValidationResults ValidateWorkflow (System.Activities.Activity workflow, string runtimeAssembly);
member this.ValidateWorkflow : System.Activities.Activity * string -> System.Activities.Validation.ValidationResults
Public Function ValidateWorkflow (workflow As Activity, runtimeAssembly As String) As ValidationResults

Parameters

workflow
Activity

The workflow, which needs to be validated.

runtimeAssembly
String

The additional runtime assembly, which is needed in validation process.

Returns

Applies to