Dim workflowInstance As WorkflowInstance
Dim reader As XmlReader = XmlReader.Create("workflow.xoml")
Try
workflowInstance = workflowRuntime.CreateWorkflow(reader)
workflowInstance.Start()
Catch ex As WorkflowValidationFailedException
For Each ve As ValidationError In ex.Errors
Console.WriteLine(ve.ErrorText)
Next
End Try