Export (0) Print
Expand All

RuleValidation Constructor (Type, ITypeProvider)

Initializes a new instance of the RuleValidation class using the Type of the Rule.

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

public RuleValidation(
	Type thisType,
	ITypeProvider typeProvider


Type: System.Type

The type of the object that this RuleCondition or RuleSet will be executed against. Normally it is the workflow, but it can be any valid type.

Type: System.Workflow.ComponentModel.Compiler.ITypeProvider

An optional ITypeProvider implementation that is used to determine what Types are available in the condition. If one is not specified, only types in the assembly specified by the activity and any assemblies it references are available.


thisType is a null reference (Nothing in Visual Basic).

.NET Framework

Supported in: 4.6, 4, 3.5, 3.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

© 2014 Microsoft