I had a try.
I run a workflow,not use the startRuntime();
the instance works all the same.
so,what is the StartRuntime's funtion.
in which condition,we must use it.
Windows Workflow Foundation
I had a try.
I run a workflow,not use the startRuntime();
the instance works all the same.
so,what is the StartRuntime's funtion.
in which condition,we must use it.
StartRuntime will be called under the covers if you ask WorkflowRuntime to run an instance. However in some cases you may want to start the runtime without running an instance (for example in order to load and run instances that are dehydrated but are ready to run). For this reason there is an explicit StartRuntime method.
Thanks,
Joel West
MSFTE - SDE in WF runtime and hosting
This posting is provided "AS IS" with no warranties, and confers no rights