DependencyObjectValidator 类

定义

注意

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

Validator其派生是所有依赖对象验证程序组件的基类。

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

注解

注释

此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的 Deprecated Types。

构造函数

名称 说明
DependencyObjectValidator()
已过时.

初始化 DependencyObjectValidator 类的新实例。

方法

名称 说明
Equals(Object)
已过时.

确定指定的对象是否等于当前对象。

(继承自 Object)
GetFullPropertyName(ValidationManager)
已过时.

用于提取完整属性名称的帮助程序方法。

(继承自 Validator)
GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)
Validate(ValidationManager, Object)
已过时.

使用指定的值验证指定的ObjectValidationManager每个可DependencyProperty设置值。

ValidateActivityChange(Activity, ActivityChangeAction)
已过时.

在派生类中重写时,根据要添加或删除的指定 Activity 来验证更改。 在应用动态更新期间对工作流所做的更改时调用此函数。

(继承自 Validator)
ValidateProperties(ValidationManager, Object)
已过时.

用于自动验证特定对象属性的帮助程序方法。

(继承自 Validator)
ValidateProperty(PropertyInfo, Object, Object, ValidationManager)
已过时.

对属性执行验证,并返回一个 ValidationErrorCollection 包含该验证结果的验证。

(继承自 Validator)

适用于