WorkflowChanges Class
Assembly: System.Workflow.ComponentModel (in system.workflow.componentmodel.dll)
All proposed changes to a running workflow instance must be made using a WorkflowChanges object.
When a WorkflowChanges object is constructed in application code (outside the workflow instance), the Activity object that is passed to the constructor must be the object that is returned by the GetWorkflowDefinition method of the WorkflowInstance class.
The following example demonstrates creating a new instance of a WorkflowChanges object. This example is from the Ordering State Machine SDK sample. For more information, see Ordering State Machine Sample.
// Create a new instance of the WorkflowChanges class for managing // the in-memory changes to the workflow WorkflowChanges changes = new WorkflowChanges(root);
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.