Exportar (0) Imprimir
Expandir todo

RuleUpdateAction (Clase)

Indicates that a rule is updating a variable, in order to cause reevaluation of affected rules.

Espacio de nombres: System.Workflow.Activities.Rules
Ensamblado: System.Workflow.Activities (en system.workflow.activities.dll)

[SerializableAttribute] 
public class RuleUpdateAction : RuleAction
/** @attribute SerializableAttribute() */ 
public class RuleUpdateAction extends RuleAction
SerializableAttribute 
public class RuleUpdateAction extends RuleAction
No aplicable.

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.

NotaNota:

If the rule set is run with ChainingBehavior set to None, this action is ignored.

System.Object
   System.Workflow.Activities.Rules.RuleAction
    System.Workflow.Activities.Rules.RuleUpdateAction

Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para la ejecución de subprocesos. No se garantiza que los miembros de instancias sean seguros para la ejecución de subprocesos.

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 Starter

Microsoft .NET Framework 3.0 es compatible con Windows Vista, Microsoft Windows XP SP2 y Windows Server 2003 SP1.

.NET Framework

Compatible con: 3.0

Adiciones de comunidad

AGREGAR
Mostrar:
© 2015 Microsoft