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
繼承
屬性

備註

Note

此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的 Deprecated Types。

建構函式

名稱 Description
ConditionValidator()
已淘汰.

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

方法

名稱 Description
Equals(Object)
已淘汰.

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

(繼承來源 Object)
GetFullPropertyName(ValidationManager)
已淘汰.

輔助方法用來擷取完整屬性名稱。

(繼承來源 Validator)
GetHashCode()
已淘汰.

做為預設哈希函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()
已淘汰.

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

(繼承來源 Object)
Validate(ValidationManager, Object)
已淘汰.

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

ValidateActivityChange(Activity, ActivityChangeAction)
已淘汰.

當在派生類別中覆寫時,會根據新增或移除指定的 Activity 變更來驗證。 此函式在動態更新期間,於工作流程變更的應用中被呼叫。

(繼承來源 Validator)
ValidateProperties(ValidationManager, Object)
已淘汰.

輔助方法用來自動驗證特定物件的屬性。

(繼承來源 Validator)
ValidateProperty(PropertyInfo, Object, Object, ValidationManager)
已淘汰.

對屬性進行驗證,並回傳包含該驗證結果的 a ValidationErrorCollection

(繼承來源 Validator)

適用於