Share via


MessageID.op_Equality Method

Determines whether the specified MessageID values are considered equal.

Namespace: Microsoft.Web.Services3.Addressing
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim messageID1 As MessageID
Dim messageID2 As MessageID
Dim returnValue As Boolean
returnValue = (MessageID = messageID2)

Syntax

'Declaration
Public Shared Function op_Equality( _
    ByVal obj1 As MessageID, _
    ByVal obj2 As MessageID _
) As Boolean
public static bool op_Equality(
    MessageID obj1, 
    MessageID obj2
);
public:
static bool operator ==(
    MessageID^ obj1,
    MessageID^ obj2
);
public static boolean op_Equality(
    MessageID obj1, 
    MessageID obj2
);
public static function op_Equality(
     obj1 : MessageID, 
     obj2 : MessageID
) : Boolean;

Parameters

  • obj2
    The second MessageID.

Return Value

true if obj1 and obj2 refer to the same object or are both null; otherwise, false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

MessageID Class
MessageID Members
Microsoft.Web.Services3.Addressing Namespace