CallExternalMethodActivity 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
定义用于在本地服务上调用方法的工作流通信活动。 此活动用于通过本地服务将数据从工作流发送到主机。
public ref class CallExternalMethodActivity : System::Workflow::ComponentModel::Activity, System::Workflow::ComponentModel::IDynamicPropertyTypeProvider
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.CallExternalMethodActivityValidator))]
public class CallExternalMethodActivity : System.Workflow.ComponentModel.Activity, System.Workflow.ComponentModel.IDynamicPropertyTypeProvider
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.CallExternalMethodActivityValidator))]
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public class CallExternalMethodActivity : System.Workflow.ComponentModel.Activity, System.Workflow.ComponentModel.IDynamicPropertyTypeProvider
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.CallExternalMethodActivityValidator))>]
type CallExternalMethodActivity = class
inherit Activity
interface IDynamicPropertyTypeProvider
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.CallExternalMethodActivityValidator))>]
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type CallExternalMethodActivity = class
inherit Activity
interface IDynamicPropertyTypeProvider
Public Class CallExternalMethodActivity
Inherits Activity
Implements IDynamicPropertyTypeProvider
- 继承
- 属性
- 实现
注解
注释
此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的
本地服务是一个类,它实现本地服务接口(带有 ExternalDataExchangeAttribute标记的接口),并将其添加到其中 ExternalDataExchangeService。
注释
当调用该方法的所有参数时,将克隆该方法。 如果参数类型实现 ICloneable, Clone 则调用该方法,或者使用此方法进行序列化和反序列化 BinaryFormatter。
构造函数
| 名称 | 说明 |
|---|---|
| CallExternalMethodActivity() |
已过时.
初始化 CallExternalMethodActivity 类的新实例。 |
| CallExternalMethodActivity(String) |
已过时.
使用活动的名称初始化 CallExternalMethodActivity 类的新实例。 |
字段
| 名称 | 说明 |
|---|---|
| CorrelationTokenProperty |
已过时.
表示面向 DependencyProperty 属性的 CorrelationToken。 |
| InterfaceTypeProperty |
已过时.
表示面向 DependencyProperty 属性的 InterfaceType。 |
| MethodInvokingEvent |
已过时.
表示 DependencyProperty 针对事件 MethodInvoking 的目标。 |
| MethodNameProperty |
已过时.
表示面向 DependencyProperty 属性的 MethodName。 |
| ParameterBindingsProperty |
已过时.
表示面向 DependencyProperty 属性的 ParameterBindings。 |
属性
方法
活动
| 名称 | 说明 |
|---|---|
| Canceling |
已过时.
取消活动执行时发生。 (继承自 Activity) |
| Closed |
已过时.
当 Activity 完成执行时发生。 (继承自 Activity) |
| Compensating |
已过时.
在 Activity上运行补偿方法时发生。 (继承自 Activity) |
| Executing |
已过时.
运行 Activity 时发生。 (继承自 Activity) |
| Faulting |
已过时.
在实例运行期间引发异常时发生。 (继承自 Activity) |
| MethodInvoking |
已过时.
在调用该方法之前发生。 |
| StatusChanged |
已过时.
当正在运行的 ActivityExecutionStatus 的 Activity 发生更改时发生。 (继承自 Activity) |
显式接口实现
| 名称 | 说明 |
|---|---|
| IComponent.Disposed |
已过时.
表示处理组件的 Disposed 事件的方法。 (继承自 DependencyObject) |
| IDynamicPropertyTypeProvider.GetAccessType(IServiceProvider, String) |
已过时.
返回指定属性的访问类型。 |
| IDynamicPropertyTypeProvider.GetPropertyType(IServiceProvider, String) |
已过时.
返回指定属性的 Type。 |