MessageEventSubscription 類別

定義

警告

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

建立訊息事件訂閱,以便將訊息傳送至適當的工作流程執行個體。

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

備註

注意

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

建構函式

MessageEventSubscription()
已淘汰.

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

MessageEventSubscription(IComparable, Guid)
已淘汰.

使用指定的佇列名稱和執行個體 ID,初始化 MessageEventSubscription 類別的新執行個體。

MessageEventSubscription(IComparable, Guid, Guid)
已淘汰.

使用指定的佇列名稱、執行個體 ID 和訂閱 ID,初始化 MessageEventSubscription 類別的新執行個體。

MessageEventSubscription(IComparable, Guid, Type, String)
已淘汰.

使用指定的佇列名稱、訂閱 ID、介面型別和作業名稱,初始化 MessageEventSubscription 類別的新執行個體。

MessageEventSubscription(IComparable, Guid, Type, String, Guid)
已淘汰.

使用指定的佇列名稱、執行個體 ID、介面型別、作業和訂閱 ID,初始化 MessageEventSubscription 類別的新執行個體。

屬性

CorrelationProperties
已淘汰.

取得訊息其相互關聯屬性的集合,可將傳入訊息與 HandleExternalEventActivity 一起對應。

InterfaceType
已淘汰.

取得或設定介面型別。

MethodName
已淘汰.

取得或設定方法的名稱。

QueueName
已淘汰.

取得或設定此訂閱所屬的佇列名稱。

SubscriptionId
已淘汰.

取得或設定這個訂閱的唯一識別碼。

WorkflowInstanceId
已淘汰.

取得或設定建立此訂閱之工作流程的 InstanceId

方法

Equals(Object)
已淘汰.

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

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

做為預設雜湊函式。

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

取得目前執行個體的 Type

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

建立目前 Object 的淺層複製。

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

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

(繼承來源 Object)

適用於