Ensamblado: System.Workflow.Activities (en system.workflow.activities.dll)
This class is used to indicate to the rules engine that execution of this rule's set of actions causes a change to the field or property that is specified (or all fields and properties on an object), so that any rules that are dependent on this field or property can be reevaluated.
An Update call does not prevent other actions in the action block from executing. The set of fields/properties that are modified (specified through Update or by using RuleWriteAttributes on methods invoked) is used to determine chaining when the set of actions for this particular rule finishes executing.
When you specify rules in the Select Rule Set Dialog Box, you can use the simpler term "Update." Also, the parser supports specifying the parameter as a field or property reference (for example, Update(this.SomeProperty.SomeOtherProperty)) in addition to using a string.
To specify that all fields and properties are modified, append "*" to the end of the path. For example, Update("this/SomeProperty/*") indicates that all fields and properties on this.SomeProperty have been modified. Therefore all rules that use any field or property on this.SomeProperty are reevaluated.
Windows 98, Windows 2000 Service Pack 4, Windows CE, Windows Millennium, Windows Mobile para Pocket PC, Windows Mobile para Smartphone, Windows Server 2003, Windows XP Media Center, Windows XP Professional x64, Windows XP SP2, Windows XP StarterMicrosoft .NET Framework 3.0 es compatible con Windows Vista, Microsoft Windows XP SP2 y Windows Server 2003 SP1.