ActivityValidator 类

定义

注意

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

DependencyObjectValidator其派生是所有活动验证程序组件的基类。

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

注解

注释

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

构造函数

名称 说明
ActivityValidator()
已过时.

初始化 ActivityValidator 类的新实例。

方法

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

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

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

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

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

用作默认哈希函数。

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

获取当前实例的 Type

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

创建当前 Object的浅表副本。

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

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

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

验证给定活动是否有效。

ValidateActivityChange(Activity, ActivityChangeAction)
已过时.

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

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

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

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

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

(继承自 Validator)

适用于