What is the different between NativeActivityMetadata.AddVariable and NativeActivityMetadata.AddImplementationVariable RRS feed

  • Question

  • I can't seem to find any decent documentation describing the two. Thanks!
    Blades Don't Need Reloading...
    Monday, December 21, 2009 5:37 PM


  • Variables are visible to child activities.
    ImplementationVariables are local to the activity and state needed for the activity - e.g. Sequence has an implementation variable for the last index in it's children collection to hold the activity that was executed last. That way if you persist and come back up, it has that state available. This variable is not something that is needed by it's children, it has state local to the implementation of the Sequence.
    Senior Lead Program Manager, Windows Workflow Foundation http://blogs.msdn.com/kavitak
    Monday, December 21, 2009 6:35 PM