Share via


ConditionValidator 類別

定義

警告

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

DependencyObjectValidator 的衍生,為所有條件驗證程式元件的基底類別。

public ref class ConditionValidator : System::Workflow::ComponentModel::Compiler::DependencyObjectValidator
public class ConditionValidator : System.Workflow.ComponentModel.Compiler.DependencyObjectValidator
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ConditionValidator : System.Workflow.ComponentModel.Compiler.DependencyObjectValidator
type ConditionValidator = class
    inherit DependencyObjectValidator
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ConditionValidator = class
    inherit DependencyObjectValidator
Public Class ConditionValidator
Inherits DependencyObjectValidator
繼承
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型

建構函式

ConditionValidator()

初始化 ConditionValidator 類別的新執行個體。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetFullPropertyName(ValidationManager)

Helper 方法,可擷取完整的屬性名稱。

(繼承來源 Validator)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)
Validate(ValidationManager, Object)

驗證使用指定 ValidationManager 的指定物件。

ValidateActivityChange(Activity, ActivityChangeAction)

在衍生類別中覆寫時,會根據所指定要加入或移除的 Activity 驗證變更。 在動態更新期間,對工作流程進行應用程式變更時,會呼叫這個函式。

(繼承來源 Validator)
ValidateProperties(ValidationManager, Object)

Helper 方法,可自動驗證特定物件屬性。

(繼承來源 Validator)
ValidateProperty(PropertyInfo, Object, Object, ValidationManager)

執行屬性驗證,並傳回包含驗證結果的 ValidationErrorCollection

(繼承來源 Validator)

適用於