This documentation is archived and is not being maintained.

RuleWriteAttribute Class

Indicates that a property or field is written by the method or property that this attribute is applied to. This information is used by the rules engine to determine dependencies between rules. This class cannot be inherited.

Namespace:  System.Workflow.Activities.Rules
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

[AttributeUsageAttribute(AttributeTargets.Method|AttributeTargets.Property, AllowMultiple = true)]
public sealed class RuleWriteAttribute : RuleReadWriteAttribute

This attribute is used to support a forward chaining model that causes the re-evaluation of rules based on changes to fields and properties. The RuleReadAttribute and RuleWriteAttribute indicate the properties read or written by the property or method the attribute is applied to. RuleInvokeAttributes are used to indicate that this property or method uses other methods, which must also be checked for dependencies.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0