Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > WinFX General

Vista - Sundeep Raina:) variables being handled in Workflow and How to declare New Variables

 
 
Old 06-30-2006   #1 (permalink)
raisundeep@gmail.com


 
 

Sundeep Raina:) variables being handled in Workflow and How to declare New Variables

Hi and Microsoft People
Please Can Some one Tell me abt wheather variables being handled in
Workflow and How to declare New Variables


My System SpecsSystem Spec
Old 08-09-2006   #2 (permalink)
=?Utf-8?B?RENCYXNz?=


 
 

RE: Sundeep Raina:) variables being handled in Workflow and How to dec

You can pass in variables in a Dictionary, where the keys of the Dictionary
should correspond to public writeable properties in your workflow class.

As for retrieving variables back out after the workflow is completed, you
need to subscribe to the WorkflowCompleted event on you workflow runtime
instance and retrieve the OutputParameters Dictionary from the
WorkflowCompletedEventArgs. The items in that Dictionary will correspond to
any public readable properties in your workflow class.

I also typically have variables that may be set during some custom activity.
I expose those using public properties on that activity, and the activity
(and its public properties) is available to the rest of the workflow.

Does that answer your question?

"raisundeep@gmail.com" wrote:

> Hi and Microsoft People
> Please Can Some one Tell me abt wheather variables being handled in
> Workflow and How to declare New Variables
>
>

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
math with "GB/MB/KB" in variables fails, without variables works? PowerShell
$Variables PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46