ValidationManager 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
允许在编译过程中跨验证程序共享上下文信息,例如属性验证、父活动等。
public ref class ValidationManager sealed : IServiceProvider
public sealed class ValidationManager : IServiceProvider
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public sealed class ValidationManager : IServiceProvider
type ValidationManager = class
interface IServiceProvider
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type ValidationManager = class
interface IServiceProvider
Public NotInheritable Class ValidationManager
Implements IServiceProvider
- 继承
-
ValidationManager
- 属性
- 实现
注解
Note
此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的
有关类实例 ValidationManager 的初始属性值列表,请参阅 ValidationManager 构造函数。
构造函数
| 名称 | 说明 |
|---|---|
| ValidationManager(IServiceProvider, Boolean) |
已过时.
使用标识的服务提供程序初始化类的新实例 ValidationManager ,并指示是否应验证子 Activity 类。 |
| ValidationManager(IServiceProvider) |
已过时.
使用标识的服务提供程序初始化类的新实例 ValidationManager 。 |
属性
| 名称 | 说明 |
|---|---|
| Context |
已过时.
获取一个值,该值指示验证程序可用于向嵌套验证程序提供信息的堆栈对象。 |
| ValidateChildActivities |
已过时.
获取一个值,该值指示是否应验证子 Activity 类。 |
方法
| 名称 | 说明 |
|---|---|
| Equals(Object) |
已过时.
确定指定的对象是否等于当前对象。 (继承自 Object) |
| GetHashCode() |
已过时.
用作默认哈希函数。 (继承自 Object) |
| GetService(Type) |
已过时.
获取指定 Type对象的服务对象。 |
| GetType() |
已过时.
获取当前实例的 Type。 (继承自 Object) |
| GetValidators(Type) |
已过时.
通过查找应用于该类型的验证程序属性,返回与类型关联的验证程序数组。 |
| MemberwiseClone() |
已过时.
创建当前 Object的浅表副本。 (继承自 Object) |
| ToString() |
已过时.
返回一个表示当前对象的字符串。 (继承自 Object) |