Represents a collection of Rule class instances to be run as part of a workflow's execution as a single step or activity.
Assembly: System.Workflow.Activities (in System.Workflow.Activities.dll)
Gets the value that indicates whether this instance is in design or run-time mode.(Inherited from DependencyObject.)
Gets or sets a value that indicates whether this instance is enabled for execution and validation.(Inherited from Activity.)
Gets or sets the name of this instance. This name must conform to the variable naming convention of the programming language that is being used in the Workflow project.(Inherited from Activity.)
Gets the qualified name of the activity. Qualified activity names are always unique in a workflow instance.(Inherited from Activity.)
Gets or sets a reference to a RuleSet in the .rules file.
Occurs when the activity execution is canceled. (Inherited from Activity.)
Occurs when an exception is raised during the running of the instance.(Inherited from Activity.)
The following code example demonstrates how to create a new instance of the RuleActionTrackingEvent Sample.class and set its properties. This code example is part of the RuleActionTrackingEventSample SDK sample from the SimplePolicyWorkflow.designer.cs file. For more information, see
// A workflow is always run asychronously; the main thread waits on this event so the program // doesn't exit before the workflow completes workflowRuntime.AddService(new SqlWorkflowPersistenceService("Initial Catalog=SqlPersistenceService;Data Source=localhost;Integrated Security=SSPI;"));
Available since 3.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.