WorkflowSubscriptionService 類別

定義

警告

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

提供訂閱服務的方法,以管理工作流程執行階段的訂閱。

public ref class WorkflowSubscriptionService abstract
public abstract class WorkflowSubscriptionService
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class WorkflowSubscriptionService
type WorkflowSubscriptionService = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowSubscriptionService = class
Public MustInherit Class WorkflowSubscriptionService
繼承
WorkflowSubscriptionService
屬性

備註

注意

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

WorkflowSubscriptionService 是任何用於 Workflow Foundation (WF) 中之訂閱服務類別的基底類別。

給實施者的注意事項

當您繼承自 WorkflowSubscriptionService 時,您必須覆寫下列成員:CreateSubscription(MessageEventSubscription)DeleteSubscription(Guid)

建構函式

WorkflowSubscriptionService()
已淘汰.

在衍生類別中實作時,初始化 WorkflowSubscriptionService 類別的新執行個體。

方法

CreateSubscription(MessageEventSubscription)
已淘汰.

在衍生類別中覆寫時,向 通知工作流程執行階段已建立指定的 。

DeleteSubscription(Guid)
已淘汰.

在衍生類別中覆寫時,向 WorkflowSubscriptionService 通知工作流程執行階段已刪除與指定 GUID 相關聯的訂閱。

Equals(Object)
已淘汰.

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

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

做為預設雜湊函式。

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

取得目前執行個體的 Type

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

建立目前 Object 的淺層複製。

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

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

(繼承來源 Object)

適用於