Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSWorkflowValidator.ValidateWorkflow Method (Activity, String)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Validates the specified workflow to determine if it is using activities tht are allowed. Introduced in Windows PowerShell 3.0.

Namespace:   Microsoft.PowerShell.Workflow
Assembly:  Microsoft.PowerShell.Workflow.ServiceCore (in Microsoft.PowerShell.Workflow.ServiceCore.dll)

public ValidationResults ValidateWorkflow(
	Activity workflow,
	string runtimeAssembly
)

Parameters

workflow
Type: System.Activities.Activity

The workflow to validate.

runtimeAssembly
Type: System.String

The name of an additional runtime assembly that is necessary to the validation process.

Return to top

Community Additions

Show: