|HomeShow ChangesEditPrintRecent ChangesSubscriptionsLost and FoundFind ReferencesRename
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
Represents an Exception that occurs when a workflow does not pass validation.
23-11-2009 15:33:40 - -220.127.116.11
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.
Click to read this topic
23-11-2009 15:31:34 - anonymous