![]() ![]() | ||||
HomeShow ChangesPrintRecent ChangesSubscriptionsLost and FoundFind ReferencesRename
History | Catch the WorkflowValidationFailedException exception when loading the workflow and iterate through the Errors collection to see what is wrong.
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
| Wiki Usage
This wiki site is supposed to be a shared resource. As a shared resource everyone is encouraged to add new content or modify existing content! Enjoy the WF wiki. Recent Topics | ||