InvokeWebServiceActivity 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
通过代理类调用 Web 服务,该类通过指定传递和接收参数。 无法继承此类。
public ref class InvokeWebServiceActivity sealed : System::Workflow::ComponentModel::Activity, System::Workflow::ComponentModel::IDynamicPropertyTypeProvider
[System.Drawing.ToolboxBitmap(typeof(System.Workflow.Activities.InvokeWebServiceActivity), "Resources.WebServiceInOut.png")]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.InvokeWebServiceValidator))]
public sealed class InvokeWebServiceActivity : System.Workflow.ComponentModel.Activity, System.Workflow.ComponentModel.IDynamicPropertyTypeProvider
[System.Drawing.ToolboxBitmap(typeof(System.Workflow.Activities.InvokeWebServiceActivity), "Resources.WebServiceInOut.png")]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.InvokeWebServiceValidator))]
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public sealed class InvokeWebServiceActivity : System.Workflow.ComponentModel.Activity, System.Workflow.ComponentModel.IDynamicPropertyTypeProvider
[<System.Drawing.ToolboxBitmap(typeof(System.Workflow.Activities.InvokeWebServiceActivity), "Resources.WebServiceInOut.png")>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.InvokeWebServiceValidator))>]
type InvokeWebServiceActivity = class
inherit Activity
interface IDynamicPropertyTypeProvider
[<System.Drawing.ToolboxBitmap(typeof(System.Workflow.Activities.InvokeWebServiceActivity), "Resources.WebServiceInOut.png")>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.InvokeWebServiceValidator))>]
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type InvokeWebServiceActivity = class
inherit Activity
interface IDynamicPropertyTypeProvider
Public NotInheritable Class InvokeWebServiceActivity
Inherits Activity
Implements IDynamicPropertyTypeProvider
- 继承
- 属性
- 实现
注解
注释
此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的
构造函数
| 名称 | 说明 |
|---|---|
| InvokeWebServiceActivity() |
已过时.
初始化 InvokeWebServiceActivity 类的新实例。 |
| InvokeWebServiceActivity(String) |
已过时.
使用活动的名称初始化 InvokeWebServiceActivity 类的新实例。 |
字段
| 名称 | 说明 |
|---|---|
| InvokedEvent |
已过时.
表示 DependencyProperty 针对事件 Invoked 的目标。 |
| InvokingEvent |
已过时.
表示 DependencyProperty 针对事件 Invoking 的目标。 |
| MethodNameProperty |
已过时.
表示 DependencyProperty 以属性为目标 MethodName 的对象。 |
| ParameterBindingsProperty |
已过时.
表示 DependencyProperty 以属性为目标 ParameterBindings 的对象。 |
| ProxyClassProperty |
已过时.
表示 DependencyProperty 以属性为目标 ProxyClass 的对象。 |
| SessionIdProperty |
已过时.
表示 DependencyProperty 以属性为目标 SessionId 的对象。 |
属性
| 名称 | 说明 |
|---|---|
| Description |
已过时.
获取或设置 Activity的用户定义说明。 (继承自 Activity) |
| DesignMode |
已过时.
获取一个值,该值指示此实例是处于设计模式还是运行时模式。 (继承自 DependencyObject) |
| Enabled |
已过时.
获取或设置一个值,该值指示是否为执行和验证启用此实例。 (继承自 Activity) |
| ExecutionResult |
已过时.
获取上次运行此实例的尝试 ActivityExecutionResult。 (继承自 Activity) |
| ExecutionStatus |
已过时.
获取此实例的当前 ActivityExecutionStatus。 (继承自 Activity) |
| IsDynamicActivity |
已过时.
获取有关活动是否在工作流实例的默认 ActivityExecutionContext 内执行的信息。 (继承自 Activity) |
| MethodName |
已过时.
获取或设置在 Web 服务上调用的代理类的方法名称。 |
| Name |
已过时.
获取或设置此实例的名称。 此名称必须符合工作流项目中使用的编程语言的变量命名约定。 (继承自 Activity) |
| ParameterBindings |
已过时.
获取由属性指定的 MethodName 方法的参数绑定的集合。 |
| Parent |
已过时.
获取包含此 CompositeActivity的 Activity。 (继承自 Activity) |
| ParentDependencyObject |
已过时.
获取 DependencyObject 图中的父 DependencyObject。 (继承自 DependencyObject) |
| ProxyClass |
已过时.
获取或设置用于与 Web 服务通信的代理类的类型。 |
| QualifiedName |
已过时.
获取活动的限定名称。 限定的活动名称在工作流实例中始终是唯一的。 (继承自 Activity) |
| SessionId |
已过时.
获取或设置一个会话标识符,该标识符指示会话是跨活动共享的,还是使用新会话。 |
| Site |
已过时.
获取或设置对 SiteDependencyObject 组件的引用。 (继承自 DependencyObject) |
| UserData |
已过时.
获取将自定义数据与此类实例关联的 IDictionary。 (继承自 DependencyObject) |
| WorkflowInstanceId |
已过时.
获取与实例关联的 Guid。 (继承自 Activity) |
方法
活动
| 名称 | 说明 |
|---|---|
| Canceling |
已过时.
取消活动执行时发生。 (继承自 Activity) |
| Closed |
已过时.
当 Activity 完成执行时发生。 (继承自 Activity) |
| Compensating |
已过时.
在 Activity上运行补偿方法时发生。 (继承自 Activity) |
| Executing |
已过时.
运行 Activity 时发生。 (继承自 Activity) |
| Faulting |
已过时.
在实例运行期间引发异常时发生。 (继承自 Activity) |
| Invoked |
已过时.
调用 Web 服务时发生。 |
| Invoking |
已过时.
在调用 Web 服务时发生。 |
| StatusChanged |
已过时.
当正在运行的 ActivityExecutionStatus 的 Activity 发生更改时发生。 (继承自 Activity) |
显式接口实现
| 名称 | 说明 |
|---|---|
| IComponent.Disposed |
已过时.
表示处理组件的 Disposed 事件的方法。 (继承自 DependencyObject) |
| IDynamicPropertyTypeProvider.GetAccessType(IServiceProvider, String) |
已过时.
返回指定属性的访问类型。 |
| IDynamicPropertyTypeProvider.GetPropertyType(IServiceProvider, String) |
已过时.
返回 Type 指定属性。 |