RuleValidation コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
RuleValidation クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| RuleValidation(Type, ITypeProvider) |
RuleValidationのTypeを使用して、Rule クラスの新しいインスタンスを初期化します。 |
| RuleValidation(Activity, ITypeProvider, Boolean) |
指定したRuleValidationと型プロバイダーを使用して、Activity クラスの新しいインスタンスを初期化します。 |
RuleValidation(Type, ITypeProvider)
RuleValidationのTypeを使用して、Rule クラスの新しいインスタンスを初期化します。
public:
RuleValidation(Type ^ thisType, System::Workflow::ComponentModel::Compiler::ITypeProvider ^ typeProvider);
public RuleValidation(Type thisType, System.Workflow.ComponentModel.Compiler.ITypeProvider typeProvider);
new System.Workflow.Activities.Rules.RuleValidation : Type * System.Workflow.ComponentModel.Compiler.ITypeProvider -> System.Workflow.Activities.Rules.RuleValidation
Public Sub New (thisType As Type, typeProvider As ITypeProvider)
パラメーター
- thisType
- Type
この RuleCondition または RuleSet が実行されるオブジェクトの型。 通常はワークフローですが、任意の有効な型を指定できます。
- typeProvider
- ITypeProvider
条件で使用可能なITypeProviderを決定するために使用される省略可能なType実装。 指定されていない場合は、アクティビティで指定されたアセンブリ内の型と、そのアクティビティが参照するアセンブリのみを使用できます。
例外
thisType は null 参照です (Visual Basic では Nothing)。
適用対象
RuleValidation(Activity, ITypeProvider, Boolean)
指定したRuleValidationと型プロバイダーを使用して、Activity クラスの新しいインスタンスを初期化します。
public:
RuleValidation(System::Workflow::ComponentModel::Activity ^ activity, System::Workflow::ComponentModel::Compiler::ITypeProvider ^ typeProvider, bool checkStaticType);
public RuleValidation(System.Workflow.ComponentModel.Activity activity, System.Workflow.ComponentModel.Compiler.ITypeProvider typeProvider, bool checkStaticType);
new System.Workflow.Activities.Rules.RuleValidation : System.Workflow.ComponentModel.Activity * System.Workflow.ComponentModel.Compiler.ITypeProvider * bool -> System.Workflow.Activities.Rules.RuleValidation
Public Sub New (activity As Activity, typeProvider As ITypeProvider, checkStaticType As Boolean)
パラメーター
- activity
- Activity
ActivityまたはRuleConditionが実行されるコンテキストのRuleSet。 ほとんどの場合、これはワークフロー オブジェクトになります。
- typeProvider
- ITypeProvider
条件で使用可能なITypeProviderを決定するために使用される省略可能なType実装。 指定されていない場合は、アクティビティで指定されたアセンブリ内の型と、そのアクティビティが参照するアセンブリのみを使用できます。
- checkStaticType
- Boolean
true場合、このオブジェクトで検証されるRuleConditionまたはRuleSetで使用される型は、許可される型の制限付きリストに含まれている必要があります。
例外
activity は null 参照です (Visual Basic では Nothing)。
注釈
このコンストラクターは、デザイン時に使用されます。