This topic has not yet been rated - Rate this topic

WorkflowRuntime.CreateWorkflow Method

Creates a workflow instance by using the specified parameters.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method CreateWorkflow(Type) Creates a new workflow instance by using the specified workflow Type.
Public method CreateWorkflow(XmlReader) Creates a workflow instance by using the specified XmlReader.
Public method CreateWorkflow(Type, Dictionary<String, Object>) Creates a workflow instance by using the specified workflow Type and the arguments to the workflow contained in the specified Dictionary<TKey, TValue>.
Public method CreateWorkflow(Type, Dictionary<String, Object>, Guid) Creates a workflow instance by using the specified parameters.
Public method CreateWorkflow(XmlReader, XmlReader, Dictionary<String, Object>) Creates a workflow instance by using the specified XmlReader objects and the arguments contained in the specified Dictionary<TKey, TValue>.
Public method CreateWorkflow(XmlReader, XmlReader, Dictionary<String, Object>, Guid) Creates a workflow instance by using the specified parameters.
Top

If the workflow run-time engine has not been started, the CreateWorkflow methods call StartRuntime. See StartRuntime for a list of possible exceptions. After you create the workflow instance, call WorkflowInstance.Start on the WorkflowInstance object returned by the CreateWorkflow method to begin its execution.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.