EventQueueName 類別

定義

警告:已過時

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

表示與 WorkflowInstance 上事件相關聯之佇列的名稱。Represents the name of a queue associated with an event on a WorkflowInstance. 此類別無法獲得繼承。This class cannot be inherited.

public ref class EventQueueName sealed : IComparable
[System.Serializable]
public sealed class EventQueueName : IComparable
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class EventQueueName : IComparable
[<System.Serializable>]
type EventQueueName = class
    interface IComparable
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type EventQueueName = class
    interface IComparable
Public NotInheritable Class EventQueueName
Implements IComparable
繼承
EventQueueName
屬性
實作

備註

注意

此資料討論已被汰換的類型及命名空間。This material discusses types and namespaces that are obsolete. 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

透過使用 Workflow Foundation (WF),這個類別可以與 WorkflowQueue 或任何其他佇列相關聯。This class can be associated with a WorkflowQueue or any other queues used by the Workflow Foundation (WF).

建構函式

EventQueueName(Type, String)

使用指定的 和作業名稱,初始化 類別的新執行個體。Initializes a new instance of the EventQueueName class by using the specified Type and operation name.

EventQueueName(Type, String, ICollection<CorrelationProperty>)

初始化 EventQueueName 類別的新執行個體。Initializes a new instance of the EventQueueName class.

屬性

InterfaceType

取得與 Type 相關聯的 EventQueueNameGets the Type associated with the EventQueueName.

MethodName

取得與 EventQueueName 相關聯的方法名稱。Gets the method name associated with the EventQueueName.

方法

CompareTo(EventQueueName)

將目前 EventQueueName 與指定的 EventQueueName 比較。Compares the current EventQueueName to the specified EventQueueName.

CompareTo(Object)

將目前 EventQueueName 與指定的 EventQueueName 比較。Compares the current EventQueueName to the specified EventQueueName.

Equals(Object)

判斷指定的物件是否等於目前的 EventQueueNameDetermines whether the specified object is equal to the current EventQueueName.

GetCorrelationValues()

傳回 CorrelationProperty 陣列,其中包含所有與 EventQueueName 關聯的相互關聯屬性。Returns a CorrelationProperty array that contains all correlation properties associated with the EventQueueName.

GetHashCode()

傳回目前 EventQueueName 的雜湊程式碼。Returns a hash code for the current EventQueueName.

GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回目前 的 表示。Returns a String representation of the current EventQueueName.

運算子

Equality(EventQueueName, EventQueueName)

傳回值,指出兩個指定的 EventQueueName 物件是否相等。Returns a value indicating whether the two specified EventQueueName objects are the equal.

GreaterThan(EventQueueName, EventQueueName)

傳回值,指出兩個指定 EventQueueName 物件的第一個物件是否大於第二個物件。Returns a value indicating whether the first of two specified EventQueueName objects is greater than the second.

Inequality(EventQueueName, EventQueueName)

傳回值,指出兩個指定的 EventQueueName 物件是否不相等。Returns a value indicating whether the two specified EventQueueName objects are the not equal.

LessThan(EventQueueName, EventQueueName)

傳回值,指出兩個指定 EventQueueName 物件的第一個物件是否小於第二個物件。Returns a value indicating whether the first of two specified EventQueueName objects is less than the second.

適用於