WebServiceOutputActivity 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
可讓您從工作流程內將數據傳送至 Web 服務。 無法繼承這個類別。
public ref class WebServiceOutputActivity sealed : System::Workflow::ComponentModel::Activity, System::Workflow::ComponentModel::IDynamicPropertyTypeProvider
[System.Drawing.ToolboxBitmap(typeof(System.Workflow.Activities.WebServiceOutputActivity), "Resources.WebServiceOut.png")]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.WebServiceResponseValidator))]
public sealed class WebServiceOutputActivity : System.Workflow.ComponentModel.Activity, System.Workflow.ComponentModel.IDynamicPropertyTypeProvider
[System.Drawing.ToolboxBitmap(typeof(System.Workflow.Activities.WebServiceOutputActivity), "Resources.WebServiceOut.png")]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.WebServiceResponseValidator))]
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public sealed class WebServiceOutputActivity : System.Workflow.ComponentModel.Activity, System.Workflow.ComponentModel.IDynamicPropertyTypeProvider
[<System.Drawing.ToolboxBitmap(typeof(System.Workflow.Activities.WebServiceOutputActivity), "Resources.WebServiceOut.png")>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.WebServiceResponseValidator))>]
type WebServiceOutputActivity = class
inherit Activity
interface IDynamicPropertyTypeProvider
[<System.Drawing.ToolboxBitmap(typeof(System.Workflow.Activities.WebServiceOutputActivity), "Resources.WebServiceOut.png")>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.WebServiceResponseValidator))>]
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type WebServiceOutputActivity = class
inherit Activity
interface IDynamicPropertyTypeProvider
Public NotInheritable Class WebServiceOutputActivity
Inherits Activity
Implements IDynamicPropertyTypeProvider
- 繼承
- 屬性
- 實作
備註
注意
此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的
WebServiceOutputActivity 活動只能包含在具有 WebServiceInputActivity 活動的工作流程中。 WebServiceOutputActivity 活動需要設定 InputActivityNameProperty,而且只有位於相同工作流程中的 WebServiceInputActivity 活動是有效的值。
WebServiceOutputActivity 活動會建立 Web 服務方法呼叫的傳回值模型。 它的目的是要與代表Web服務方法呼叫之輸入參數的 WebServiceInputActivity 配對。 只有當 Web 服務介面合約上的 方法包含傳回值時,才會使用 WebServiceOutputActivity 活動。
建構函式
| 名稱 | Description |
|---|---|
| WebServiceOutputActivity() |
已淘汰.
初始化 WebServiceOutputActivity 類別的新實例。 |
| WebServiceOutputActivity(String) |
已淘汰.
使用活動的名稱,初始化 WebServiceOutputActivity 類別的新實例。 |
欄位
| 名稱 | Description |
|---|---|
| InputActivityNameProperty |
已淘汰.
定義與這個 WebServiceInputActivity 相符之 WebServiceOutputActivity 的名稱。 |
| ParameterBindingsProperty |
已淘汰.
表示以 DependencyObject 屬性為目標的 ParameterBindings。 |
| SendingOutputEvent |
已淘汰.
定義活動傳送 Web 服務調用輸出之前所執行的事件委派。 |
屬性
| 名稱 | Description |
|---|---|
| Description |
已淘汰.
取得或設定 Activity的使用者定義描述。 (繼承來源 Activity) |
| DesignMode |
已淘汰.
取得值,這個值表示這個實例處於設計或運行時間模式。 (繼承來源 DependencyObject) |
| Enabled |
已淘汰.
取得或設定值,這個值表示是否啟用這個實例來執行和驗證。 (繼承來源 Activity) |
| ExecutionResult |
已淘汰.
取得上次執行這個實例之嘗試 ActivityExecutionResult。 (繼承來源 Activity) |
| ExecutionStatus |
已淘汰.
取得這個實例目前的 ActivityExecutionStatus。 (繼承來源 Activity) |
| InputActivityName |
已淘汰.
取得或設定上述 WebServiceInputActivity 類別的名稱。 |
| IsDynamicActivity |
已淘汰.
取得活動是否在工作流程實例的預設 ActivityExecutionContext 內執行的相關信息。 (繼承來源 Activity) |
| Name |
已淘汰.
取得或設定這個實例的名稱。 此名稱必須符合工作流程專案中所使用之程式設計語言的變數命名慣例。 (繼承來源 Activity) |
| ParameterBindings |
已淘汰.
取得與 out/ref 相關聯之系結的集合,以及對應 WebServiceInputActivity 方法的傳回值。 |
| Parent |
已淘汰.
取得包含這個 CompositeActivity的 Activity。 (繼承來源 Activity) |
| ParentDependencyObject |
已淘汰.
取得 DependencyObject 圖形中的父 DependencyObject。 (繼承來源 DependencyObject) |
| QualifiedName |
已淘汰.
取得活動的限定名稱。 限定的活動名稱在工作流程實例中一律是唯一的。 (繼承來源 Activity) |
| Site |
已淘汰.
取得或設定 Site之 DependencyObject 元件的參考。 (繼承來源 DependencyObject) |
| UserData |
已淘汰.
取得將自定義數據與這個類別實例產生關聯的 IDictionary。 (繼承來源 DependencyObject) |
| WorkflowInstanceId |
已淘汰.
取得與 實例相關聯的 Guid。 (繼承來源 Activity) |
方法
事件
| 名稱 | Description |
|---|---|
| Canceling |
已淘汰.
發生於取消活動執行時。 (繼承來源 Activity) |
| Closed |
已淘汰.
發生於 Activity 已完成執行時。 (繼承來源 Activity) |
| Compensating |
已淘汰.
在 Activity上執行補償方法時發生。 (繼承來源 Activity) |
| Executing |
已淘汰.
執行 Activity 時發生。 (繼承來源 Activity) |
| Faulting |
已淘汰.
在實例執行期間引發例外狀況時發生。 (繼承來源 Activity) |
| SendingOutput |
已淘汰.
發生於 WebServiceOutputActivity 將輸出傳送至用戶端之前。 |
| StatusChanged |
已淘汰.
發生於執行中 ActivityExecutionStatus 的 Activity 變更時。 (繼承來源 Activity) |
明確介面實作
| 名稱 | Description |
|---|---|
| IComponent.Disposed |
已淘汰.
表示處理元件 Disposed 事件的方法。 (繼承來源 DependencyObject) |
| IDynamicPropertyTypeProvider.GetAccessType(IServiceProvider, String) |
已淘汰.
傳回指定屬性的存取類型。 |
| IDynamicPropertyTypeProvider.GetPropertyType(IServiceProvider, String) |
已淘汰.
傳回指定之屬性的 Type。 |