Partager via


SoapInputChannelCollection.Contains Method

Returns a value indicating whether the collection contains an item indexed by the specified URI value.

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

Usage

'Usage
Dim channel As ISoapInputChannel
Dim returnValue As Boolean
Dim soapInputChannelCollection1 As SoapInputChannelCollection
returnValue = soapInputChannelCollection1.Contains(channel)

Syntax

'Declaration
Public Function Contains( _
    ByVal channel As ISoapInputChannel _
) As Boolean
public bool Contains(
    ISoapInputChannel channel
);
public:
bool Contains(
    ISoapInputChannel^ channel
);
public boolean Contains(
    ISoapInputChannel channel
);
public function Contains(
     channel : ISoapInputChannel
) : Boolean;

Parameters

  • channel

Exceptions

Exception type Condition
ArgumentNullException

to is null.

Remarks

The specified URI corresponds to the value of the <To> element described in the WS-Addressing specification.

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

SoapInputChannelCollection Class
SoapInputChannelCollection Members
Microsoft.Web.Services3.Messaging Namespace