The Problem SolverWIndows Workflow Foundation
HomeShow ChangesEditPrintRecent ChangesSubscriptionsLost and FoundFind ReferencesRename

Search

History

8-12-2006 20:08:25

List all versions

Errors Loading Xoml
.
Summary

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