EventQueueName.Equality(EventQueueName, EventQueueName) 操作员

定义

返回一个值,该值指示两个指定的 EventQueueName 对象是否相等。

public:
 static bool operator ==(System::Workflow::Activities::EventQueueName ^ queueKey1, System::Workflow::Activities::EventQueueName ^ queueKey2);
public static bool operator == (System.Workflow.Activities.EventQueueName queueKey1, System.Workflow.Activities.EventQueueName queueKey2);
static member ( = ) : System.Workflow.Activities.EventQueueName * System.Workflow.Activities.EventQueueName -> bool
Public Shared Operator == (queueKey1 As EventQueueName, queueKey2 As EventQueueName) As Boolean

参数

queueKey1
EventQueueName

要比较的第一个 EventQueueName

queueKey2
EventQueueName

要比较的第二个 EventQueueName

返回

如果 queueKey1queueKey2 相等,则为 true;否则为 false

注解

如果 queueKey1queueKey2 包含一个空引用(在 Visual Basic 中为 Nothing),则 Equality 返回 true

此运算符的等效方法是 EventQueueName.Equals

适用于