RuleValidation 생성자

정의

RuleValidation 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
RuleValidation(Type, ITypeProvider)

를 사용하여 클래스의 RuleValidation 새 인스턴스를 TypeRule초기화합니다.

RuleValidation(Activity, ITypeProvider, Boolean)

지정된 형식 공급자와 형식 공급자를 RuleValidation 사용하여 클래스의 새 인스턴스를 Activity 초기화합니다.

RuleValidation(Type, ITypeProvider)

를 사용하여 클래스의 RuleValidation 새 인스턴스를 TypeRule초기화합니다.

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 또는 실행되는 컨텍스트 RuleConditionRuleSet 입니다. 대부분의 경우 워크플로 개체가 됩니다.

typeProvider
ITypeProvider

조건에서 사용할 수 있는 항목을 결정하는 ITypeProvider데 사용되는 선택적 Type 구현입니다. 지정하지 않으면 작업에서 지정한 어셈블리의 형식과 참조하는 어셈블리만 사용할 수 있습니다.

checkStaticType
Boolean

이 개체 true에서 RuleCondition 사용하거나 RuleSet 유효성을 검사하는 형식은 허용되는 제한된 형식 목록에 있어야 합니다.

예외

activity null 참조입니다(Visual Basic Nothing).

설명

이 생성자는 디자인 타임에 사용됩니다.

적용 대상