ITypeProvider 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
定义充当类型的容器的服务的行为。
public interface class ITypeProvider
public interface ITypeProvider
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public interface ITypeProvider
type ITypeProvider = interface
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type ITypeProvider = interface
Public Interface ITypeProvider
- 派生
- 属性
注解
注释
此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的
ITypeProvider 可以推送为服务 WorkflowRuntime ,以发现可扩展应用程序标记语言(XAML)工作流激活所需的数据类型。
属性
| 名称 | 说明 |
|---|---|
| LocalAssembly |
已过时.
在编译过程中生成的临时程序集,用于验证正在编译的活动项目中的类型。 |
| ReferencedAssemblies |
已过时.
获取由 |
| TypeLoadErrors |
已过时.
IDictionary获取由Object原因Exception引发的加载错误异常。 |
方法
| 名称 | 说明 |
|---|---|
| GetType(String, Boolean) |
已过时.
Type获取命名实体。 |
| GetType(String) |
已过时.
Type获取命名实体。 |
| GetTypes() |
已过时.
创建并返回一个数组,其中包含此实例已知的每个 Type 数组。 |
活动
| 名称 | 说明 |
|---|---|
| TypeLoadErrorsChanged |
已过时.
修改集合 TypeLoadErrors 时发生。 |
| TypesChanged |
已过时.
在实现此接口的类型提供程序中的类型更改时发生。 当程序集或 CodeCompileUnit 从类型提供程序添加或删除时,可能会发生这种情况。 |