PSWorkflowValidator.ValidateWorkflow(Activity, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.