ExternalDataExchangeService 類別

定義

警告

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

表示必須加入至工作流程執行階段引擎才能啟動本機服務通訊的服務。 本機服務實作必須加入至 ExternalDataExchangeService,這些服務才能適當地初始化和註冊。

public ref class ExternalDataExchangeService : System::Workflow::Runtime::Hosting::WorkflowRuntimeService
public class ExternalDataExchangeService : System.Workflow.Runtime.Hosting.WorkflowRuntimeService
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ExternalDataExchangeService : System.Workflow.Runtime.Hosting.WorkflowRuntimeService
type ExternalDataExchangeService = class
    inherit WorkflowRuntimeService
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ExternalDataExchangeService = class
    inherit WorkflowRuntimeService
Public Class ExternalDataExchangeService
Inherits WorkflowRuntimeService
繼承
ExternalDataExchangeService
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型

本機服務實作一種類別,其可實作標示有 ExternalDataExchangeAttribute 的介面。 以這種方式加入的本機服務會由 CallExternalMethodActivityHandleExternalEventActivity 使用。

建構函式

ExternalDataExchangeService()
已淘汰.

初始化 ExternalDataExchangeService 類別的新執行個體。

ExternalDataExchangeService(ExternalDataExchangeServiceSection)
已淘汰.

初始化 ExternalDataExchangeService 類別的新執行個體。

ExternalDataExchangeService(NameValueCollection)
已淘汰.

初始化 ExternalDataExchangeService 類別的新執行個體。

ExternalDataExchangeService(String)
已淘汰.

初始化 ExternalDataExchangeService 類別的新執行個體。

屬性

Runtime
已淘汰.

取得此服務的 WorkflowRuntime

(繼承來源 WorkflowRuntimeService)
State
已淘汰.

取得 WorkflowRuntimeService 的狀態。

(繼承來源 WorkflowRuntimeService)

方法

AddService(Object)
已淘汰.

將指定的服務加入至 ExternalDataExchangeService

Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設雜湊函式。

(繼承來源 Object)
GetService(Type)
已淘汰.

如果可取得服務的話,則取得指定介面型別的服務實作。

GetType()
已淘汰.

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object 的淺層複製。

(繼承來源 Object)
OnStarted()
已淘汰.

在衍生類別中覆寫時,代表在工作流程執行階段引擎引發 Started 事件時將呼叫的方法。

(繼承來源 WorkflowRuntimeService)
OnStopped()
已淘汰.

在衍生類別中覆寫時,代表在工作流程執行階段引擎引發 Stopped 事件時將呼叫的方法。

(繼承來源 WorkflowRuntimeService)
RaiseServicesExceptionNotHandledEvent(Exception, Guid)
已淘汰.

引發 ServicesExceptionNotHandled 事件。

(繼承來源 WorkflowRuntimeService)
RemoveService(Object)
已淘汰.

將指定的服務從 ExternalDataExchangeService 中移除。

Start()
已淘汰.

如果在建構物件期間指定了組態區段,則新增本機服務。

Stop()
已淘汰.

在衍生類別中覆寫時,停止服務並將 State 變更為 Stopping

(繼承來源 WorkflowRuntimeService)
ToString()
已淘汰.

傳回代表目前物件的字串。

(繼承來源 Object)

適用於