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
 
- 属性
 
- 实现
 
注解
注意
本材料讨论的类型和命名空间已废弃不用。 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型。
有关 ValidationManager 类的实例的初始属性值的列表,请参见 ValidationManager 构造函数。
构造函数
| ValidationManager(IServiceProvider) | 
			 
				已过时.
			 
		使用标识的服务提供程序初始化 ValidationManager 类的新实例。  | 
        	
| ValidationManager(IServiceProvider, Boolean) | 
			 
				已过时.
			 
		使用标识的服务提供程序初始化 ValidationManager 类的新实例并指示是否应验证子 Activity 类。  | 
        	
属性
| Context | 
			 
				已过时.
			 
		获取一个指示堆栈对象的值,验证程序可以使用该堆栈对象向嵌套的验证程序提供信息。  | 
        	
| ValidateChildActivities | 
			 
				已过时.
			 
		获取一个指示是否应验证子 Activity 类的值。  | 
        	
方法
| Equals(Object) | 
			 
		已过时.
	 
确定指定对象是否等于当前对象。 (继承自 Object) | 
        	
| GetHashCode() | 
			 
		已过时.
	 
作为默认哈希函数。 (继承自 Object) | 
        	
| GetService(Type) | 
			 
				已过时.
			 
		获取指定 Type 的服务对象。  | 
        	
| GetType() | 
			 
		已过时.
	 
获取当前实例的 Type。 (继承自 Object) | 
        	
| GetValidators(Type) | 
			 
				已过时.
			 
		通过查找应用于类型的验证程序属性,返回与该类型关联的验证程序的数组。  | 
        	
| MemberwiseClone() | 
			 
		已过时.
	 
创建当前 Object 的浅表副本。 (继承自 Object) | 
        	
| ToString() | 
			 
		已过时.
	 
返回表示当前对象的字符串。 (继承自 Object) |