RelatesTo.Matches Method

Determines whether this instance of RelatesTo matches the <RelatesTo> element in the specified message.

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

Usage

'Usage
Dim message As SoapEnvelope
Dim returnValue As Boolean
Dim relatesTo1 As RelatesTo
returnValue = relatesTo1.Matches(message)

Syntax

'Declaration
Public Function Matches( _
    ByVal message As SoapEnvelope _
) As Boolean
public bool Matches(
    SoapEnvelope message
);
public:
bool Matches(
    SoapEnvelope^ message
);
public boolean Matches(
    SoapEnvelope message
);
public function Matches(
     message : SoapEnvelope
) : Boolean;

Parameters

Return Value

true if this instance of RelatesTo matches the <RelatesTo> element in the specified message; otherwise, false.

Exceptions

Exception type Condition
ArgumentNullException

message is null.

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

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