StateActivityValidator 类

定义

注意

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

表示验证是否已正确配置类的 StateActivity 类。

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

注解

注释

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

构造函数

名称 说明
StateActivityValidator()
已过时.

初始化 StateActivityValidator 类的新实例。

方法

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

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

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

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

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

用作默认哈希函数。

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

获取当前实例的 Type

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

创建当前 Object的浅表副本。

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

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

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

StateActivity 工作流编译期间验证类。

ValidateActivityChange(Activity, ActivityChangeAction)
已过时.

验证对 StateActivity. 的更改。

ValidateProperties(ValidationManager, Object)
已过时.

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

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

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

(继承自 Validator)

适用于