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.

  NameDescription
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 runtime 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft