Interop 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The WF3 Types are deprecated. Instead, please use the new WF4 Types from System.Activities.*
管理工作流内执行 Activity 的活动。
public ref class Interop sealed : System::Activities::NativeActivity, System::ComponentModel::ICustomTypeDescriptor
public sealed class Interop : System.Activities.NativeActivity, System.ComponentModel.ICustomTypeDescriptor
[System.Obsolete("The WF3 Types are deprecated. Instead, please use the new WF4 Types from System.Activities.*")]
public sealed class Interop : System.Activities.NativeActivity, System.ComponentModel.ICustomTypeDescriptor
type Interop = class
inherit NativeActivity
interface ICustomTypeDescriptor
[<System.Obsolete("The WF3 Types are deprecated. Instead, please use the new WF4 Types from System.Activities.*")>]
type Interop = class
inherit NativeActivity
interface ICustomTypeDescriptor
Public NotInheritable Class Interop
Inherits NativeActivity
Implements ICustomTypeDescriptor
- 继承
- 属性
- 实现
注解
注释
活动 Interop 不会显示在工作流设计器工具箱中,除非工作流的项目已将其 Target Framework 设置设置为 .Net Framework 4。
Warning
由于Interop活动可以支持的接口类型存在限制,HandleExternalEventActivity和CallExternalMethodActivity不能直接使用,但可以使用工作流通信活动工具(WCA.exe)创建的派生活动。
构造函数
| 名称 | 说明 |
|---|---|
| Interop() |
已过时.
创建类的新实例 Interop 。 |
属性
| 名称 | 说明 |
|---|---|
| ActivityMetaProperties |
已过时.
与活动属性(如活动属性或WhileActivity活动NameCondition属性)的元数据Activity对应的名称/值对的集合。 |
| ActivityProperties |
已过时.
获取与 的输入和输出属性对应的名称/值对的 Activity集合。 |
| ActivityType |
已过时.
获取或设置活动包含 Interop 的活动的类型。 |
| CacheId |
已过时.
获取在工作流定义范围内唯一的缓存的标识符。 (继承自 Activity) |
| CanInduceIdle |
已过时.
获取或设置一个值,该值指示活动是否可能导致工作流处于空闲状态。 (继承自 NativeActivity) |
| Constraints |
已过时.
获取可配置为提供验证的活动Constraint集合Activity。 (继承自 Activity) |
| DisplayName |
已过时.
获取或设置用于调试、验证、异常处理和跟踪的可选友好名称。 (继承自 Activity) |
| Id |
已过时.
获取工作流定义范围中唯一的标识符。 (继承自 Activity) |
| Implementation |
已过时.
活动的执行逻辑。 (继承自 NativeActivity) |
| ImplementationVersion |
已过时.
获取或设置活动的实现版本。 (继承自 NativeActivity) |
方法
显式接口实现
| 名称 | 说明 |
|---|---|
| ICustomTypeDescriptor.GetAttributes() |
已过时.
返回包含 Activity的属性集合。 |
| ICustomTypeDescriptor.GetClassName() |
已过时.
返回包含 Activity的类的名称。 |
| ICustomTypeDescriptor.GetComponentName() |
已过时.
返回包含 Activity的名称。 |
| ICustomTypeDescriptor.GetConverter() |
已过时.
返回包含 Activity的关联类型转换器。 |
| ICustomTypeDescriptor.GetDefaultEvent() |
已过时.
返回包含 Activity的默认事件。 |
| ICustomTypeDescriptor.GetDefaultProperty() |
已过时.
返回包含 Activity的默认属性。 |
| ICustomTypeDescriptor.GetEditor(Type) |
已过时.
返回包含 Activity的编辑器。 |
| ICustomTypeDescriptor.GetEvents() |
已过时.
返回包含 Activity的事件集合。 |
| ICustomTypeDescriptor.GetEvents(Attribute[]) |
已过时.
使用指定的属性数组作为筛选器返回包含 Activity 的事件集合。 |
| ICustomTypeDescriptor.GetProperties() |
已过时.
返回包含 Activity的属性集合。 |
| ICustomTypeDescriptor.GetProperties(Attribute[]) |
已过时.
返回使用指定属性数组作为筛选器的包含 Activity 属性的集合。 |
| ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor) |
已过时.
如果属性描述符没有所有者,则返回指定属性描述符的所有者或 Interop 活动本身。 |